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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3846/0.3846, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 63.84 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.336, allocations: 60.8 MB / 0.5064 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03348/0.3696, allocations: 43.42 MB / 0.5488 GB, free: 7.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.3917, allocations: 9.638 MB / 0.5582 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01313/0.4048, allocations: 188.2 kB / 0.5584 GB, free: 0.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005725/0.4106, allocations: 2.736 MB / 0.5611 GB, free: 15.69 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.4163, allocations: 1.909 MB / 0.5629 GB, free: 14.85 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.4186, allocations: 0.9293 MB / 0.5638 GB, free: 14.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.4289, allocations: 7.455 MB / 0.5711 GB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00542/0.4344, allocations: 3.351 MB / 0.5744 GB, free: 10.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.4378, allocations: 1.561 MB / 0.5759 GB, free: 8.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004544/0.4423, allocations: 2.605 MB / 0.5785 GB, free: 6.117 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.4438, allocations: 248 kB / 0.5787 GB, free: 5.875 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.4473, allocations: 1.396 MB / 0.5801 GB, free: 4.477 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003706/0.451, allocations: 2.111 MB / 0.5821 GB, free: 2.359 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004397/0.4554, allocations: 2.399 MB / 0.5845 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008912/0.4644, allocations: 7.714 MB / 0.592 GB, free: 8.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4644, allocations: 4 kB / 0.592 GB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4644, allocations: 4 kB / 0.592 GB, free: 8.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000269/0.4647, allocations: 0 / 0.592 GB, free: 8.199 MB / 410.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.01326/0.478, allocations: 5.745 MB / 0.5976 GB, free: 2.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4781, allocations: 11.97 kB / 0.5976 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/0.496, allocations: 2.603 MB / 0.6002 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008298/0.5043, allocations: 3.147 MB / 0.6032 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.5046, allocations: 254.8 kB / 0.6035 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.5059, allocations: 347.8 kB / 0.6038 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.5277, allocations: 12.36 MB / 0.6159 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.5278, allocations: 55.53 kB / 0.6159 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/0.5283, allocations: 163.8 kB / 0.6161 GB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00364/0.5319, allocations: 2.389 MB / 0.6184 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.5538, allocations: 10.83 MB / 0.629 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3387/0.8926, allocations: 48.8 MB / 0.6767 GB, free: 120.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/0.9072, allocations: 6.047 MB / 0.6826 GB, free: 120.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/0.911, allocations: 3.293 MB / 0.6858 GB, free: 119.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01788/0.9289, allocations: 13.52 MB / 0.699 GB, free: 112.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.929, allocations: 52.91 kB / 0.699 GB, free: 112.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 4.809e-06/0.929, allocations: 0 / 0.699 GB, free: 112.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1058/1.035, allocations: 36.3 MB / 0.7345 GB, free: 101.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/1.035, allocations: 207.7 kB / 0.7347 GB, free: 101.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006502/1.041, allocations: 4.364 MB / 0.7389 GB, free: 97.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008059/1.042, allocations: 61.7 kB / 0.739 GB, free: 97.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/1.044, allocations: 3.383 MB / 0.7423 GB, free: 94.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.046, allocations: 0.98 MB / 0.7433 GB, free: 93.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001972/1.048, allocations: 1.42 MB / 0.7446 GB, free: 92.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/1.048, allocations: 304.1 kB / 0.7449 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00416/1.052, allocations: 3.293 MB / 0.7482 GB, free: 88.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006194/1.058, allocations: 7.201 MB / 0.7552 GB, free: 79.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.069, allocations: 11.25 MB / 0.7662 GB, free: 66.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/1.069, allocations: 44 kB / 0.7662 GB, free: 66.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02558/1.095, allocations: 13.27 MB / 0.7792 GB, free: 53.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.095, allocations: 64 kB / 0.7792 GB, free: 52.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/1.095, allocations: 140.1 kB / 0.7794 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009405/1.105, allocations: 3.394 MB / 0.7827 GB, free: 49.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005087/1.11, allocations: 1.579 MB / 0.7842 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/1.13, allocations: 16.37 MB / 0.8002 GB, free: 31.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006018/1.136, allocations: 435.4 kB / 0.8006 GB, free: 30.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.137, allocations: 415.4 kB / 0.801 GB, free: 30.53 MB / 490.7 MB 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.003575/1.141, allocations: 2.345 MB / 0.8033 GB, free: 28.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/1.141, allocations: 408.8 kB / 0.8037 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.156, allocations: 8.003 MB / 0.8115 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-05/1.156, allocations: 28 kB / 0.8115 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/1.156, allocations: 8 kB / 0.8115 GB, free: 19.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/1.156, allocations: 15.95 kB / 0.8116 GB, free: 19.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/1.183, allocations: 15.54 MB / 0.8267 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/1.183, allocations: 0 / 0.8267 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/1.185, allocations: 383.5 kB / 0.8271 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008887/1.194, allocations: 3.169 MB / 0.8302 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005121/1.195, allocations: 36 kB / 0.8302 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/1.217, allocations: 14.66 MB / 0.8445 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.217, allocations: 0 / 0.8445 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5205/1.737, allocations: 100.2 MB / 0.9424 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.739, allocations: 452.5 kB / 0.9428 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.74, allocations: 40 kB / 0.9429 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.742, allocations: 191.7 kB / 0.943 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006496/1.743, allocations: 154.2 kB / 0.9432 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.743, allocations: 70.36 kB / 0.9432 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004145/1.747, allocations: 2.733 MB / 0.9459 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/1.747, allocations: 0 / 0.9459 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008846/1.756, allocations: 1.923 MB / 0.9478 GB, free: 123.5 MB / 0.5261 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.0007416/1.757, allocations: 181.8 kB / 0.948 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.769, allocations: 8.191 MB / 0.956 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.769, allocations: 0 / 0.956 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004586/1.773, allocations: 3.311 MB / 0.9592 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.777, allocations: 487.9 kB / 0.9597 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/1.802, allocations: 16.7 MB / 0.976 GB, free: 94.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005799/1.808, allocations: 3.767 MB / 0.9797 GB, free: 91.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007266/1.815, allocations: 2.254 MB / 0.9819 GB, free: 88.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.817, allocations: 295.4 kB / 0.9821 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.154e-06/1.817, allocations: 0 / 0.9821 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.3618/2.179, allocations: 86.68 MB / 1.067 GB, free: 141.2 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches