Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001217/0.001217, allocations: 106.3 kB / 17.98 MB, free: 5.391 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.001351/0.001351, allocations: 193.3 kB / 18.9 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 44.17 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 408.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 60.83 MB / 469.4 MB, free: 2.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.04164/0.1718, allocations: 43.4 MB / 0.5008 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02052/0.1924, allocations: 9.545 MB / 0.5101 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008573/0.201, allocations: 187.5 kB / 0.5103 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005619/0.2066, allocations: 2.641 MB / 0.5128 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.2125, allocations: 1.908 MB / 0.5147 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.2149, allocations: 0.9401 MB / 0.5156 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007808/0.2227, allocations: 5.494 MB / 0.521 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005313/0.228, allocations: 3.608 MB / 0.5245 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.2314, allocations: 1.799 MB / 0.5263 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.2355, allocations: 2.711 MB / 0.5289 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.2368, allocations: 364 kB / 0.5293 GB, free: 10 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.24, allocations: 1.443 MB / 0.5307 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002951/0.2429, allocations: 2.233 MB / 0.5329 GB, free: 6.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004193/0.2471, allocations: 2.524 MB / 0.5353 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2764/0.5235, allocations: 6.344 MB / 0.5415 GB, free: 49.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.5236, allocations: 0 / 0.5415 GB, free: 49.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5236, allocations: 0 / 0.5415 GB, free: 49.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002622/0.5239, allocations: 0 / 0.5415 GB, free: 49.84 MB / 462.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.01263/0.5365, allocations: 5.749 MB / 0.5471 GB, free: 47.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5366, allocations: 9.062 kB / 0.5471 GB, free: 47.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.5527, allocations: 2.591 MB / 0.5497 GB, free: 47.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007206/0.56, allocations: 3.157 MB / 0.5528 GB, free: 46.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.5603, allocations: 254.8 kB / 0.553 GB, free: 46.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/0.5619, allocations: 352.7 kB / 0.5533 GB, free: 46.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/0.5867, allocations: 12.36 MB / 0.5654 GB, free: 44.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/0.5869, allocations: 49.78 kB / 0.5655 GB, free: 44.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006285/0.5875, allocations: 164.8 kB / 0.5656 GB, free: 44.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004428/0.592, allocations: 2.379 MB / 0.5679 GB, free: 44.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.6151, allocations: 10.84 MB / 0.5785 GB, free: 44.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05109/0.6662, allocations: 48.8 MB / 0.6262 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.6798, allocations: 6.052 MB / 0.6321 GB, free: 2.609 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00348/0.6833, allocations: 3.292 MB / 0.6353 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/0.7022, allocations: 13.53 MB / 0.6485 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.7023, allocations: 55.86 kB / 0.6486 GB, free: 1.504 MB / 478.1 MB Notification: Performance of pre-optimization done (n=204): time 4.138e-06/0.7023, allocations: 1.422 kB / 0.6486 GB, free: 1.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.1053/0.8076, allocations: 36.29 MB / 0.684 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.8078, allocations: 213.9 kB / 0.6842 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006219/0.814, allocations: 4.363 MB / 0.6885 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007626/0.8148, allocations: 66.45 kB / 0.6885 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002562/0.8174, allocations: 3.377 MB / 0.6918 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/0.819, allocations: 0.9885 MB / 0.6928 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002322/0.8213, allocations: 1.419 MB / 0.6942 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8215, allocations: 305.1 kB / 0.6945 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004903/0.8264, allocations: 3.281 MB / 0.6977 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007796/0.8342, allocations: 7.204 MB / 0.7047 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/0.8478, allocations: 11.24 MB / 0.7157 GB, free: 9.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/0.848, allocations: 40.66 kB / 0.7157 GB, free: 9.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02892/0.8769, allocations: 13.27 MB / 0.7287 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.8771, allocations: 67.94 kB / 0.7287 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002375/0.8773, allocations: 136 kB / 0.7289 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.8878, allocations: 3.406 MB / 0.7322 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005649/0.8934, allocations: 1.578 MB / 0.7337 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2579/1.151, allocations: 17.56 MB / 0.7509 GB, free: 198.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/1.158, allocations: 437.5 kB / 0.7513 GB, free: 198.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.159, allocations: 409.8 kB / 0.7517 GB, free: 198.3 MB / 0.5606 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.004246/1.163, allocations: 2.345 MB / 0.754 GB, free: 198.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009245/1.164, allocations: 402 kB / 0.7544 GB, free: 198.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/1.18, allocations: 8.002 MB / 0.7622 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-05/1.18, allocations: 35.19 kB / 0.7622 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/1.18, allocations: 11.12 kB / 0.7622 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.449e-05/1.18, allocations: 14.72 kB / 0.7622 GB, free: 195.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03205/1.212, allocations: 15.54 MB / 0.7774 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/1.213, allocations: 0 / 0.7774 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/1.215, allocations: 384.1 kB / 0.7778 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008714/1.223, allocations: 3.181 MB / 0.7809 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004855/1.224, allocations: 41.34 kB / 0.7809 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/1.243, allocations: 15.76 MB / 0.7963 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.243, allocations: 0 / 0.7963 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.261, allocations: 12.13 MB / 0.8082 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.262, allocations: 456.7 kB / 0.8086 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006724/1.263, allocations: 40.78 kB / 0.8086 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.265, allocations: 192.2 kB / 0.8088 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/1.265, allocations: 154.3 kB / 0.809 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.266, allocations: 67.98 kB / 0.809 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003649/1.269, allocations: 2.733 MB / 0.8117 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.269, allocations: 0 / 0.8117 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006261/1.275, allocations: 1.369 MB / 0.813 GB, free: 167 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (197): * Single equations (assignments): 193 * 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,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005769/1.276, allocations: 184.3 kB / 0.8132 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0157/1.292, allocations: 10.93 MB / 0.8239 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.292, allocations: 0 / 0.8239 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.296, allocations: 3.317 MB / 0.8271 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.299, allocations: 0.4981 MB / 0.8276 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/1.317, allocations: 14.74 MB / 0.842 GB, free: 138 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/1.32, allocations: 3.65 MB / 0.8456 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.321, allocations: 335.4 kB / 0.8459 GB, free: 134 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/1.321, allocations: 2.844 kB / 0.8459 GB, free: 134 MB / 0.5606 GB Notification: Performance of Templates: time 0.09623/1.418, allocations: 92.3 MB / 0.936 GB, free: 42.07 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches