Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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 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 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 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008245/0.008245, allocations: 99.83 kB / 15.87 MB, free: 6.309 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.001412/0.001413, allocations: 194.5 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222.7 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4682/0.4682, allocations: 43.5 MB / 313.5 MB, free: 8.547 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 74.55 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1634, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3663/0.5298, allocations: 73.68 MB / 0.5015 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04558/0.5754, allocations: 14.57 MB / 0.5157 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02344/0.5989, allocations: 317.5 kB / 0.516 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.6092, allocations: 3.761 MB / 0.5197 GB, free: 7.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.6211, allocations: 2.269 MB / 0.5219 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.6247, allocations: 0.9391 MB / 0.5228 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01803/0.6428, allocations: 8.721 MB / 0.5313 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007237/0.65, allocations: 4.67 MB / 0.5359 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.6548, allocations: 1.88 MB / 0.5377 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005703/0.6606, allocations: 3.092 MB / 0.5407 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.6622, allocations: 316 kB / 0.541 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/0.6662, allocations: 1.42 MB / 0.5424 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003185/0.6694, allocations: 2.591 MB / 0.5449 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004568/0.674, allocations: 2.896 MB / 0.5478 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.6872, allocations: 9.232 MB / 0.5568 GB, free: 9.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6872, allocations: 0 / 0.5568 GB, free: 9.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.18e-06/0.6873, allocations: 0 / 0.5568 GB, free: 9.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003646/0.6876, allocations: 7.938 kB / 0.5568 GB, free: 9.484 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02023/0.7079, allocations: 6.538 MB / 0.5632 GB, free: 2.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.7079, allocations: 16.02 kB / 0.5632 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.7214, allocations: 2.66 MB / 0.5658 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/0.7341, allocations: 4.004 MB / 0.5697 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.7345, allocations: 304.4 kB / 0.57 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/0.7363, allocations: 415.6 kB / 0.5704 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03376/0.7701, allocations: 13.01 MB / 0.5831 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004042/0.7706, allocations: 59.42 kB / 0.5832 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002211/0.7728, allocations: 195.8 kB / 0.5833 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004688/0.7775, allocations: 2.507 MB / 0.5858 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/0.8043, allocations: 10.83 MB / 0.5964 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4289/1.233, allocations: 50.15 MB / 0.6453 GB, free: 109.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.244, allocations: 4.543 MB / 0.6498 GB, free: 108.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.248, allocations: 2.457 MB / 0.6522 GB, free: 108.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/1.262, allocations: 6.742 MB / 0.6588 GB, free: 105.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/1.262, allocations: 53.62 kB / 0.6588 GB, free: 105.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 7.344e-06/1.262, allocations: 1.75 kB / 0.6588 GB, free: 105.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.06224/1.324, allocations: 19.4 MB / 0.6778 GB, free: 97.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.324, allocations: 233.2 kB / 0.678 GB, free: 97.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/1.341, allocations: 5.916 MB / 0.6838 GB, free: 95.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005956/1.341, allocations: 51.78 kB / 0.6838 GB, free: 95.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003744/1.345, allocations: 4.069 MB / 0.6878 GB, free: 91.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.346, allocations: 0.7737 MB / 0.6885 GB, free: 91.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005469/1.352, allocations: 1.529 MB / 0.69 GB, free: 90.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/1.352, allocations: 313.9 kB / 0.6903 GB, free: 90.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005161/1.357, allocations: 2.632 MB / 0.6929 GB, free: 89.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007382/1.365, allocations: 7.165 MB / 0.6999 GB, free: 82.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.376, allocations: 10.5 MB / 0.7102 GB, free: 74.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001663/1.376, allocations: 55.56 kB / 0.7102 GB, free: 74.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02164/1.398, allocations: 10.57 MB / 0.7205 GB, free: 68.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/1.398, allocations: 74.77 kB / 0.7206 GB, free: 68.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003492/1.398, allocations: 160 kB / 0.7208 GB, free: 68.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/1.402, allocations: 1.231 MB / 0.722 GB, free: 66.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005461/1.407, allocations: 1.725 MB / 0.7236 GB, free: 65.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/1.415, allocations: 7.927 MB / 0.7314 GB, free: 57.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007951/1.423, allocations: 407.5 kB / 0.7318 GB, free: 56.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/1.425, allocations: 458.3 kB / 0.7322 GB, free: 56.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 911 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00586/1.431, allocations: 2.691 MB / 0.7348 GB, free: 53.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.432, allocations: 485.2 kB / 0.7353 GB, free: 53.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007544/1.44, allocations: 4.041 MB / 0.7393 GB, free: 48.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-05/1.44, allocations: 20 kB / 0.7393 GB, free: 48.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.999e-05/1.44, allocations: 8 kB / 0.7393 GB, free: 48.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/1.44, allocations: 15.84 kB / 0.7393 GB, free: 48.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/1.463, allocations: 9.555 MB / 0.7486 GB, free: 39.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/1.463, allocations: 4 kB / 0.7486 GB, free: 39.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.465, allocations: 330.8 kB / 0.7489 GB, free: 39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002598/1.468, allocations: 1.004 MB / 0.7499 GB, free: 37.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/1.468, allocations: 35.98 kB / 0.75 GB, free: 37.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/1.475, allocations: 7.234 MB / 0.757 GB, free: 30.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.475, allocations: 8.062 kB / 0.757 GB, free: 30.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00948/1.485, allocations: 6.88 MB / 0.7638 GB, free: 23.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.487, allocations: 0.8384 MB / 0.7646 GB, free: 22.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001826/1.489, allocations: 35.92 kB / 0.7646 GB, free: 22.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/1.492, allocations: 116.4 kB / 0.7647 GB, free: 22.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/1.493, allocations: 117 kB / 0.7648 GB, free: 22.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.493, allocations: 55.98 kB / 0.7649 GB, free: 22.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006845/1.5, allocations: 3.782 MB / 0.7686 GB, free: 18.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.5, allocations: 0 / 0.7686 GB, free: 18.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009011/1.509, allocations: 1.301 MB / 0.7698 GB, free: 17.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007533/1.51, allocations: 169 kB / 0.77 GB, free: 17.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.52, allocations: 6.326 MB / 0.7762 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.52, allocations: 4.25 kB / 0.7762 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.523, allocations: 1.909 MB / 0.7781 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006133/1.529, allocations: 0.582 MB / 0.7786 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/1.556, allocations: 14.7 MB / 0.793 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007975/1.564, allocations: 4.131 MB / 0.797 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007535/1.572, allocations: 2.307 MB / 0.7993 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.573, allocations: 319.4 kB / 0.7996 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.234e-06/1.573, allocations: 0 / 0.7996 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.3453/1.918, allocations: 47.4 MB / 0.8459 GB, free: 164.1 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches