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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 198.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009781/0.000978, allocations: 104.7 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3334/0.3334, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2863, allocations: 63.24 MB / 0.5192 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4196, allocations: 111.1 MB / 0.6277 GB, free: 8.293 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4198, allocations: 75.97 kB / 0.6278 GB, free: 8.219 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4676/0.8874, allocations: 102.6 MB / 0.728 GB, free: 101.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8875, allocations: 0 / 0.728 GB, free: 101.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003004/0.8878, allocations: 91.19 kB / 0.7281 GB, free: 101.9 MB / 490.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.01928/0.9071, allocations: 5.497 MB / 0.7335 GB, free: 99.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.9072, allocations: 7.812 kB / 0.7335 GB, free: 99.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.9248, allocations: 4.603 MB / 0.738 GB, free: 98.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.9385, allocations: 5.16 MB / 0.743 GB, free: 95.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.9389, allocations: 352.2 kB / 0.7433 GB, free: 95.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002469/0.9414, allocations: 471.1 kB / 0.7438 GB, free: 95.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/0.9727, allocations: 12.72 MB / 0.7562 GB, free: 86.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004877/0.9732, allocations: 67.41 kB / 0.7563 GB, free: 86.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002282/0.9755, allocations: 221.3 kB / 0.7565 GB, free: 85.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/0.9774, allocations: 1.271 MB / 0.7577 GB, free: 84.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.9973, allocations: 10.95 MB / 0.7684 GB, free: 73.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05592/1.053, allocations: 55.82 MB / 0.8229 GB, free: 16.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.067, allocations: 5.951 MB / 0.8287 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01795/1.085, allocations: 13.06 MB / 0.8415 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/1.085, allocations: 55.81 kB / 0.8415 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 4.669e-06/1.085, allocations: 0 / 0.8415 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.1028/1.188, allocations: 36.04 MB / 0.8767 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.188, allocations: 205.9 kB / 0.8769 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007984/1.196, allocations: 3.891 MB / 0.8807 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005043/1.196, allocations: 61.98 kB / 0.8808 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002817/1.199, allocations: 3.45 MB / 0.8842 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.2468/1.446, allocations: 0.9361 MB / 0.8851 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/1.448, allocations: 135.6 kB / 0.8852 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004798/1.448, allocations: 0.5927 MB / 0.8858 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005607/1.454, allocations: 3.08 MB / 0.8888 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/1.46, allocations: 6.981 MB / 0.8956 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006154/1.466, allocations: 4.519 MB / 0.9 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/1.466, allocations: 42 kB / 0.9001 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.0242/1.49, allocations: 12.59 MB / 0.9124 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/1.491, allocations: 66.22 kB / 0.9124 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.491, allocations: 140 kB / 0.9126 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009547/1.5, allocations: 3.22 MB / 0.9157 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005836/1.506, allocations: 1.559 MB / 0.9172 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/1.527, allocations: 15.53 MB / 0.9324 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006529/1.533, allocations: 468.9 kB / 0.9328 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/1.535, allocations: 419.5 kB / 0.9332 GB, free: 123.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (809): * Single equations (assignments): 805 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005624/1.54, allocations: 2.349 MB / 0.9355 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.542, allocations: 405.3 kB / 0.9359 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.555, allocations: 7.419 MB / 0.9432 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/1.556, allocations: 25.86 kB / 0.9432 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/1.556, allocations: 9.5 kB / 0.9432 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/1.556, allocations: 15.23 kB / 0.9432 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02983/1.585, allocations: 15.03 MB / 0.9579 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/1.586, allocations: 0 / 0.9579 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/1.588, allocations: 381.2 kB / 0.9582 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008155/1.596, allocations: 2.881 MB / 0.9611 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006401/1.596, allocations: 44.09 kB / 0.9611 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.614, allocations: 13.86 MB / 0.9746 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.614, allocations: 4 kB / 0.9746 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.631, allocations: 11.39 MB / 0.9858 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.633, allocations: 449.5 kB / 0.9862 GB, free: 92.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/1.634, allocations: 40.62 kB / 0.9862 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.637, allocations: 207.3 kB / 0.9864 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006735/1.638, allocations: 149.5 kB / 0.9866 GB, free: 92.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/1.638, allocations: 64.62 kB / 0.9866 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005706/1.644, allocations: 2.73 MB / 0.9893 GB, free: 89.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/1.644, allocations: 0 / 0.9893 GB, free: 89.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006953/1.651, allocations: 1.315 MB / 0.9906 GB, free: 88.03 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006852/1.651, allocations: 189.4 kB / 0.9908 GB, free: 87.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.662, allocations: 7.782 MB / 0.9984 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.662, allocations: 0 / 0.9984 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003849/1.666, allocations: 3.071 MB / 1.001 GB, free: 77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.669, allocations: 484 kB / 1.002 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.688, allocations: 13.55 MB / 1.015 GB, free: 63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005228/1.694, allocations: 3.767 MB / 1.019 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005872/1.7, allocations: 2.177 MB / 1.021 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.701, allocations: 279.4 kB / 1.021 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of SimCode: time 2.705e-06/1.701, allocations: 0 / 1.021 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.08152/1.782, allocations: 53.78 MB / 1.074 GB, free: 3.613 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches