Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002076/0.002076, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002234/0.002234, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2664/0.2664, allocations: 46.93 MB / 357 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 83.88 kB / 0.491 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1443, allocations: 66.04 MB / 0.5555 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01878/0.1631, allocations: 13.51 MB / 0.5687 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.1752, allocations: 4.229 MB / 0.5728 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.1783, allocations: 83.69 kB / 0.5729 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005379/0.1837, allocations: 1.985 MB / 0.5748 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.1899, allocations: 1.937 MB / 0.5767 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.1919, allocations: 0.5576 MB / 0.5772 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007431/0.1993, allocations: 4.042 MB / 0.5812 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005291/0.2046, allocations: 2.476 MB / 0.5836 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.2083, allocations: 1.475 MB / 0.5851 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004653/0.213, allocations: 2.196 MB / 0.5872 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.2147, allocations: 308 kB / 0.5875 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.2192, allocations: 1.037 MB / 0.5885 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004591/0.2238, allocations: 1.897 MB / 0.5904 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3995/0.6233, allocations: 2.239 MB / 0.5925 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.6377, allocations: 7.319 MB / 0.5997 GB, free: 9.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.6377, allocations: 0.9375 kB / 0.5997 GB, free: 9.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6377, allocations: 0.8438 kB / 0.5997 GB, free: 9.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004303/0.6381, allocations: 0 / 0.5997 GB, free: 9.344 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.02196/0.6601, allocations: 5.017 MB / 0.6046 GB, free: 7.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.6601, allocations: 12.22 kB / 0.6046 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004753/0.6649, allocations: 0.8179 MB / 0.6054 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.679, allocations: 3.181 MB / 0.6085 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006805/0.6858, allocations: 2.407 MB / 0.6109 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.6863, allocations: 236.8 kB / 0.6111 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.6887, allocations: 307.3 kB / 0.6114 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.721, allocations: 12.08 MB / 0.6232 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002804/0.7213, allocations: 35.3 kB / 0.6232 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002109/0.7234, allocations: 147.3 kB / 0.6234 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005425/0.7288, allocations: 2.839 MB / 0.6261 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02827/0.7571, allocations: 11.36 MB / 0.6372 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08347/0.8406, allocations: 41.11 MB / 0.6774 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.8549, allocations: 5.828 MB / 0.6831 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005822/0.8607, allocations: 2.757 MB / 0.6858 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002455/0.8632, allocations: 1.886 MB / 0.6876 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.945e-05/0.8633, allocations: 56.56 kB / 0.6876 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 9.798e-06/0.8633, allocations: 0 / 0.6876 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.06494/0.9282, allocations: 20.19 MB / 0.7074 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.9283, allocations: 77.41 kB / 0.7074 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006848/0.9351, allocations: 3.036 MB / 0.7104 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009088/0.936, allocations: 61.7 kB / 0.7105 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00315/0.9392, allocations: 3.104 MB / 0.7135 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002222/0.9414, allocations: 1.073 MB / 0.7145 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004356/0.9458, allocations: 1.198 MB / 0.7157 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9459, allocations: 301.1 kB / 0.716 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006303/0.9522, allocations: 2.846 MB / 0.7188 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009834/0.962, allocations: 6.029 MB / 0.7247 GB, free: 13.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/0.9779, allocations: 9.654 MB / 0.7341 GB, free: 3.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/0.978, allocations: 32 kB / 0.7341 GB, free: 3.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02536/1.003, allocations: 10.02 MB / 0.7439 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.004, allocations: 56.03 kB / 0.744 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/1.004, allocations: 111.9 kB / 0.7441 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004461/1.008, allocations: 1.359 MB / 0.7454 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005914/1.014, allocations: 1.369 MB / 0.7467 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/1.027, allocations: 7.806 MB / 0.7544 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/1.033, allocations: 367.7 kB / 0.7547 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/1.034, allocations: 336 kB / 0.755 GB, free: 13.97 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008153/1.043, allocations: 2.305 MB / 0.7573 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.044, allocations: 317.8 kB / 0.7576 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/1.06, allocations: 6.614 MB / 0.764 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/1.061, allocations: 47.98 kB / 0.7641 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/1.061, allocations: 4 kB / 0.7641 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.769e-05/1.061, allocations: 7.969 kB / 0.7641 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03517/1.096, allocations: 13.89 MB / 0.7777 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/1.096, allocations: 8.031 kB / 0.7777 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/1.099, allocations: 455.3 kB / 0.7781 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/1.103, allocations: 1.21 MB / 0.7793 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/1.104, allocations: 51.98 kB / 0.7793 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.115, allocations: 7.02 MB / 0.7862 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-05/1.115, allocations: 8 kB / 0.7862 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02145/1.137, allocations: 9.874 MB / 0.7958 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.138, allocations: 363 kB / 0.7962 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.139, allocations: 54.48 kB / 0.7962 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.141, allocations: 191.7 kB / 0.7964 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008391/1.142, allocations: 169.5 kB / 0.7966 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003818/1.143, allocations: 72 kB / 0.7967 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004195/1.147, allocations: 1.874 MB / 0.7985 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/1.147, allocations: 8 kB / 0.7985 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007881/1.155, allocations: 1.1 MB / 0.7996 GB, free: 15.84 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02168/1.176, allocations: 10.54 MB / 0.8099 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.191, allocations: 6.676 MB / 0.8164 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.191, allocations: 0 / 0.8164 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006641/1.198, allocations: 2.65 MB / 0.819 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/1.203, allocations: 432.7 kB / 0.8194 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.435/1.638, allocations: 48.96 MB / 0.8672 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00833/1.646, allocations: 3.574 MB / 0.8707 GB, free: 203 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00573/1.652, allocations: 2.198 MB / 0.8728 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004236/1.656, allocations: 2.067 MB / 0.8748 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.713e-06/1.656, allocations: 0 / 0.8748 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/1.779, allocations: 70.54 MB / 0.9437 GB, free: 130 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.06/24.84, allocations: 6.875 kB / 0.9437 GB, free: 130 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.351317054009996]