Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 105.7 kB / 17.08 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 198.1 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2112/0.2112, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 69.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1031, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01281/0.1159, allocations: 12.02 MB / 0.5003 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008479/0.1244, allocations: 4.375 MB / 0.5046 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.1264, allocations: 71.81 kB / 0.5046 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005298/0.1317, allocations: 2.764 MB / 0.5073 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.1374, allocations: 2.039 MB / 0.5093 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.1399, allocations: 1.01 MB / 0.5103 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006881/0.1468, allocations: 5.131 MB / 0.5153 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.151, allocations: 3.44 MB / 0.5187 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.1537, allocations: 1.772 MB / 0.5204 GB, free: 11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.1573, allocations: 2.449 MB / 0.5228 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.1584, allocations: 372 kB / 0.5232 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.1612, allocations: 1.408 MB / 0.5245 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.1635, allocations: 2.229 MB / 0.5267 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.1667, allocations: 2.501 MB / 0.5292 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2259/0.3926, allocations: 8.071 MB / 0.537 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3927, allocations: 1 kB / 0.537 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3927, allocations: 1.531 kB / 0.537 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002689/0.393, allocations: 0 / 0.537 GB, free: 15.69 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01539/0.4084, allocations: 5.758 MB / 0.5427 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.4084, allocations: 13.05 kB / 0.5427 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.4247, allocations: 2.597 MB / 0.5452 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009129/0.4339, allocations: 3.307 MB / 0.5484 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.4342, allocations: 260.9 kB / 0.5487 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.4362, allocations: 345.2 kB / 0.549 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.4587, allocations: 12.37 MB / 0.5611 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.4589, allocations: 53.66 kB / 0.5611 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004746/0.4593, allocations: 164.3 kB / 0.5613 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003166/0.4625, allocations: 2.385 MB / 0.5636 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.4812, allocations: 10.84 MB / 0.5742 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06623/0.5475, allocations: 48.62 MB / 0.6217 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01623/0.5638, allocations: 6.043 MB / 0.6276 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00462/0.5684, allocations: 3.303 MB / 0.6308 GB, free: 6.852 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02418/0.5926, allocations: 13.52 MB / 0.644 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.183e-05/0.5927, allocations: 55.98 kB / 0.6441 GB, free: 9.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 6.763e-06/0.5928, allocations: 3.469 kB / 0.6441 GB, free: 9.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1159/0.7087, allocations: 36.34 MB / 0.6796 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.7089, allocations: 213.3 kB / 0.6798 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/0.7202, allocations: 4.384 MB / 0.6841 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/0.7215, allocations: 69.38 kB / 0.6841 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003314/0.7248, allocations: 3.382 MB / 0.6874 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/0.7271, allocations: 0.9863 MB / 0.6884 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00566/0.7327, allocations: 1.42 MB / 0.6898 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7329, allocations: 301.1 kB / 0.6901 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006423/0.7393, allocations: 3.281 MB / 0.6933 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/0.7497, allocations: 7.204 MB / 0.7003 GB, free: 13.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01691/0.7667, allocations: 11.24 MB / 0.7113 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/0.7669, allocations: 39.56 kB / 0.7113 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03319/0.8001, allocations: 13.27 MB / 0.7243 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.8003, allocations: 63.98 kB / 0.7243 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002492/0.8005, allocations: 139.9 kB / 0.7245 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/0.8118, allocations: 3.403 MB / 0.7278 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006375/0.8182, allocations: 1.579 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02829/0.8466, allocations: 17.53 MB / 0.7465 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007358/0.854, allocations: 431.4 kB / 0.7469 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/0.856, allocations: 415.6 kB / 0.7473 GB, free: 12.13 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * Array equations: 3 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008723/0.8648, allocations: 2.356 MB / 0.7496 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/0.8669, allocations: 414.7 kB / 0.75 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02557/0.8925, allocations: 8.002 MB / 0.7578 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.793e-05/0.8926, allocations: 11.95 kB / 0.7578 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.8926, allocations: 0 / 0.7578 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003939/0.8966, allocations: 0.937 MB / 0.7587 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/0.8984, allocations: 44 kB / 0.7587 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003978/0.9024, allocations: 187.7 kB / 0.7589 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2673/1.17, allocations: 195.1 kB / 0.7591 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01855/1.188, allocations: 7.857 MB / 0.7668 GB, free: 210 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01309/1.201, allocations: 9.167 MB / 0.7757 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003019/1.205, allocations: 2.574 MB / 0.7782 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005357/1.21, allocations: 2.752 MB / 0.7809 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of Backend: time 7.91e-07/1.21, allocations: 0 / 0.7809 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.223, allocations: 6.202 MB / 0.787 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01923/1.243, allocations: 10.75 MB / 0.7975 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.09986/1.343, allocations: 70.41 MB / 0.8662 GB, free: 127.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches