Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.1 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 81.73 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 62.44 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3241/0.4529, allocations: 43.14 MB / 0.5108 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02396/0.4769, allocations: 9.534 MB / 0.5201 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01167/0.4886, allocations: 189.3 kB / 0.5203 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006126/0.4948, allocations: 2.729 MB / 0.523 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006861/0.5018, allocations: 1.886 MB / 0.5248 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.5045, allocations: 0.9247 MB / 0.5257 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.5149, allocations: 7.495 MB / 0.533 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004437/0.5194, allocations: 3.346 MB / 0.5363 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.5221, allocations: 1.544 MB / 0.5378 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.5252, allocations: 2.594 MB / 0.5403 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007461/0.526, allocations: 251.1 kB / 0.5406 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.5287, allocations: 1.376 MB / 0.5419 GB, free: 144 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.5307, allocations: 2.099 MB / 0.544 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002843/0.5336, allocations: 2.382 MB / 0.5463 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.541, allocations: 6.231 MB / 0.5524 GB, free: 6.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.541, allocations: 0 / 0.5524 GB, free: 6.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.541, allocations: 0 / 0.5524 GB, free: 6.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002072/0.5412, allocations: 0 / 0.5524 GB, free: 6.512 MB / 398.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.0123/0.5535, allocations: 5.741 MB / 0.558 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.5536, allocations: 12.03 kB / 0.558 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/0.5694, allocations: 2.587 MB / 0.5605 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006317/0.5757, allocations: 3.094 MB / 0.5635 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.5759, allocations: 257.2 kB / 0.5638 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007202/0.5767, allocations: 348.8 kB / 0.5641 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.5964, allocations: 12.36 MB / 0.5762 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.5966, allocations: 59.42 kB / 0.5763 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/0.597, allocations: 166.5 kB / 0.5764 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003582/0.6006, allocations: 2.381 MB / 0.5787 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.6207, allocations: 10.85 MB / 0.5893 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0573/0.678, allocations: 48.8 MB / 0.637 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.6935, allocations: 6.036 MB / 0.6429 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004682/0.6983, allocations: 3.305 MB / 0.6461 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02077/0.7191, allocations: 13.51 MB / 0.6593 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.7192, allocations: 63.8 kB / 0.6594 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 7.053e-06/0.7192, allocations: 0 / 0.6594 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1052/0.8244, allocations: 36.29 MB / 0.6948 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.8246, allocations: 209.9 kB / 0.695 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006739/0.8313, allocations: 4.361 MB / 0.6993 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008138/0.8322, allocations: 61.7 kB / 0.6993 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/0.8349, allocations: 3.375 MB / 0.7026 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/0.8366, allocations: 0.9844 MB / 0.7036 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002497/0.8392, allocations: 1.423 MB / 0.705 GB, free: 7.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8393, allocations: 301.1 kB / 0.7053 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005041/0.8443, allocations: 3.285 MB / 0.7085 GB, free: 4.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.259/1.103, allocations: 7.202 MB / 0.7155 GB, free: 190.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/1.118, allocations: 11.23 MB / 0.7265 GB, free: 182.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002812/1.118, allocations: 38.53 kB / 0.7265 GB, free: 182.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02846/1.147, allocations: 13.27 MB / 0.7395 GB, free: 178.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.147, allocations: 65.5 kB / 0.7395 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/1.147, allocations: 133.7 kB / 0.7396 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009746/1.157, allocations: 3.41 MB / 0.743 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005138/1.162, allocations: 1.576 MB / 0.7445 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/1.182, allocations: 16.37 MB / 0.7605 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005719/1.188, allocations: 430.8 kB / 0.7609 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/1.189, allocations: 415.8 kB / 0.7613 GB, free: 168.3 MB / 0.545 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.003673/1.193, allocations: 2.344 MB / 0.7636 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008263/1.194, allocations: 402.8 kB / 0.764 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.207, allocations: 8.004 MB / 0.7718 GB, free: 157.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-05/1.207, allocations: 31.83 kB / 0.7718 GB, free: 157.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/1.207, allocations: 13.88 kB / 0.7718 GB, free: 157.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.356e-05/1.207, allocations: 15.89 kB / 0.7719 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/1.231, allocations: 15.53 MB / 0.787 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/1.231, allocations: 2.438 kB / 0.787 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.233, allocations: 383.4 kB / 0.7874 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008544/1.242, allocations: 3.169 MB / 0.7905 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004706/1.242, allocations: 44 kB / 0.7905 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/1.26, allocations: 14.65 MB / 0.8048 GB, free: 124 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.26, allocations: 4 kB / 0.8048 GB, free: 124 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.278, allocations: 12.13 MB / 0.8167 GB, free: 111.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.279, allocations: 447.8 kB / 0.8171 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000757/1.28, allocations: 44 kB / 0.8172 GB, free: 111.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.282, allocations: 187.7 kB / 0.8173 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005891/1.283, allocations: 162.1 kB / 0.8175 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.283, allocations: 66.95 kB / 0.8176 GB, free: 110.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003235/1.286, allocations: 2.733 MB / 0.8202 GB, free: 108.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.286, allocations: 0 / 0.8202 GB, free: 108.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005723/1.292, allocations: 1.349 MB / 0.8215 GB, free: 106.8 MB / 0.545 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.0005485/1.292, allocations: 180.4 kB / 0.8217 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.304, allocations: 8.183 MB / 0.8297 GB, free: 98.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.304, allocations: 0 / 0.8297 GB, free: 98.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/1.308, allocations: 3.324 MB / 0.833 GB, free: 95.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/1.311, allocations: 490.7 kB / 0.8334 GB, free: 94.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.329, allocations: 14.73 MB / 0.8478 GB, free: 79.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/1.332, allocations: 3.651 MB / 0.8514 GB, free: 76.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.334, allocations: 331.4 kB / 0.8517 GB, free: 75.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/1.334, allocations: 4 kB / 0.8517 GB, free: 75.9 MB / 0.545 GB Notification: Performance of Templates: time 0.3134/1.647, allocations: 92.1 MB / 0.9416 GB, free: 172.6 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches