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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 89.44 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3343/0.3343, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009523/0.0009523, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.11, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2489/0.3589, allocations: 43.46 MB / 0.518 GB, free: 36.61 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.3788, allocations: 9.654 MB / 0.5275 GB, free: 32.8 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01061/0.3895, allocations: 192.6 kB / 0.5276 GB, free: 32.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005399/0.3949, allocations: 2.736 MB / 0.5303 GB, free: 31.51 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006897/0.4019, allocations: 1.908 MB / 0.5322 GB, free: 30.67 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.4046, allocations: 0.933 MB / 0.5331 GB, free: 30.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007976/0.4126, allocations: 7.229 MB / 0.5401 GB, free: 28.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/0.4169, allocations: 3.352 MB / 0.5434 GB, free: 27.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.4197, allocations: 1.568 MB / 0.545 GB, free: 26.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004048/0.4238, allocations: 2.617 MB / 0.5475 GB, free: 25.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.425, allocations: 252.1 kB / 0.5478 GB, free: 25.55 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.4281, allocations: 1.388 MB / 0.5491 GB, free: 25.22 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002894/0.431, allocations: 2.12 MB / 0.5512 GB, free: 24.55 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004056/0.4351, allocations: 2.402 MB / 0.5535 GB, free: 22.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.4455, allocations: 7.729 MB / 0.5611 GB, free: 19.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4456, allocations: 1.125 kB / 0.5611 GB, free: 19.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4456, allocations: 0 / 0.5611 GB, free: 19.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003467/0.4459, allocations: 0 / 0.5611 GB, free: 19.22 MB / 394.7 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.02156/0.4675, allocations: 5.758 MB / 0.5667 GB, free: 15.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4676, allocations: 12.91 kB / 0.5667 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/0.4851, allocations: 2.595 MB / 0.5692 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008577/0.4937, allocations: 3.259 MB / 0.5724 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.494, allocations: 256.8 kB / 0.5727 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.495, allocations: 349.8 kB / 0.573 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.5154, allocations: 12.36 MB / 0.5851 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/0.5156, allocations: 59.52 kB / 0.5851 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005769/0.5162, allocations: 167.9 kB / 0.5853 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.5199, allocations: 2.365 MB / 0.5876 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.5411, allocations: 10.85 MB / 0.5982 GB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06142/0.6025, allocations: 48.82 MB / 0.6459 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.6183, allocations: 6.033 MB / 0.6518 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004928/0.6233, allocations: 3.303 MB / 0.655 GB, free: 7.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0211/0.6444, allocations: 13.53 MB / 0.6682 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.6445, allocations: 55.81 kB / 0.6683 GB, free: 9.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 4.879e-06/0.6445, allocations: 0 / 0.6683 GB, free: 9.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.3143/0.9588, allocations: 36.33 MB / 0.7037 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.9589, allocations: 208.9 kB / 0.7039 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007692/0.9666, allocations: 4.395 MB / 0.7082 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007223/0.9674, allocations: 64.02 kB / 0.7083 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.9691, allocations: 3.382 MB / 0.7116 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.9704, allocations: 0.9834 MB / 0.7125 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/0.9723, allocations: 1.426 MB / 0.7139 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.9724, allocations: 303.8 kB / 0.7142 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004257/0.9767, allocations: 3.28 MB / 0.7174 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005703/0.9824, allocations: 7.205 MB / 0.7245 GB, free: 140 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.9932, allocations: 11.23 MB / 0.7354 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/0.9934, allocations: 43.06 kB / 0.7355 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02861/1.022, allocations: 13.27 MB / 0.7484 GB, free: 127 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/1.022, allocations: 62.58 kB / 0.7485 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002589/1.023, allocations: 138.3 kB / 0.7486 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/1.033, allocations: 3.406 MB / 0.752 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005843/1.039, allocations: 1.574 MB / 0.7535 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/1.061, allocations: 16.36 MB / 0.7695 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006345/1.067, allocations: 434.3 kB / 0.7699 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.069, allocations: 414.1 kB / 0.7703 GB, free: 113.7 MB / 0.4948 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.004684/1.074, allocations: 2.35 MB / 0.7726 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.075, allocations: 406.7 kB / 0.773 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.09, allocations: 8.004 MB / 0.7808 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.858e-05/1.09, allocations: 28 kB / 0.7808 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.662e-05/1.09, allocations: 12 kB / 0.7808 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.629e-05/1.09, allocations: 15.08 kB / 0.7808 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03122/1.121, allocations: 15.55 MB / 0.796 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/1.121, allocations: 3.984 kB / 0.796 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.123, allocations: 383.5 kB / 0.7964 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008772/1.132, allocations: 3.161 MB / 0.7995 GB, free: 84.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004918/1.133, allocations: 44 kB / 0.7995 GB, free: 84.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.15, allocations: 14.65 MB / 0.8138 GB, free: 69.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.15, allocations: 7.875 kB / 0.8138 GB, free: 69.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4066/1.557, allocations: 100.9 MB / 0.9123 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003223/1.56, allocations: 0.9417 MB / 0.9133 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009761/1.561, allocations: 37.81 kB / 0.9133 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.563, allocations: 193.4 kB / 0.9135 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006491/1.564, allocations: 156.8 kB / 0.9136 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.564, allocations: 65 kB / 0.9137 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004517/1.569, allocations: 2.75 MB / 0.9164 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.569, allocations: 0 / 0.9164 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00979/1.579, allocations: 1.928 MB / 0.9183 GB, free: 124.7 MB / 0.4948 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.0006483/1.579, allocations: 181.7 kB / 0.9184 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.592, allocations: 8.192 MB / 0.9264 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.592, allocations: 0 / 0.9264 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004973/1.597, allocations: 3.316 MB / 0.9297 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.6, allocations: 492.3 kB / 0.9301 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03249/1.633, allocations: 16.73 MB / 0.9465 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00711/1.64, allocations: 3.788 MB / 0.9502 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007621/1.647, allocations: 2.245 MB / 0.9524 GB, free: 107 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.649, allocations: 305 kB / 0.9527 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.323e-06/1.649, allocations: 0 / 0.9527 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1175/1.767, allocations: 86.77 MB / 1.037 GB, free: 22.96 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches