Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 107.2 kB / 16.27 MB, free: 6.051 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.001257/0.001257, allocations: 190.9 kB / 17.19 MB, free: 5.688 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.469/1.469, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.224/0.224, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001609/0.001609, allocations: 69.58 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1432, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.02075/0.1641, allocations: 17.66 MB / 458.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.1785, allocations: 5.37 MB / 463.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004909/0.1834, allocations: 115.7 kB / 463.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.1936, allocations: 5.093 MB / 468.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.2037, allocations: 2.84 MB / 471.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.2075, allocations: 1.24 MB / 472.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.2215, allocations: 7.928 MB / 480.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009089/0.2307, allocations: 6.265 MB / 487 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006711/0.2374, allocations: 2.745 MB / 489.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008017/0.2455, allocations: 3.859 MB / 493.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.2476, allocations: 0.6055 MB / 494.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.2524, allocations: 1.611 MB / 495.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004586/0.257, allocations: 3.515 MB / 499.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005745/0.2627, allocations: 3.943 MB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02006/0.2828, allocations: 11.97 MB / 0.5032 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.2829, allocations: 0 / 0.5032 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.2829, allocations: 0 / 0.5032 GB, free: 11.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006361/0.2836, allocations: 0 / 0.5032 GB, free: 11.85 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.031/0.3146, allocations: 8.326 MB / 0.5113 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001134/0.3147, allocations: 8.031 kB / 0.5113 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/0.3342, allocations: 3.208 MB / 0.5145 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.3511, allocations: 5.232 MB / 0.5196 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005869/0.3517, allocations: 406.7 kB / 0.52 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/0.3549, allocations: 0.5387 MB / 0.5205 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5268/0.8817, allocations: 16.38 MB / 0.5365 GB, free: 77.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002997/0.882, allocations: 76.59 kB / 0.5366 GB, free: 77.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.8831, allocations: 259.5 kB / 0.5368 GB, free: 77.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006346/0.8895, allocations: 3.079 MB / 0.5398 GB, free: 77.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03046/0.92, allocations: 13.64 MB / 0.5531 GB, free: 71.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07116/0.9912, allocations: 62.42 MB / 0.6141 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.005, allocations: 6.112 MB / 0.6201 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/1.009, allocations: 3.41 MB / 0.6234 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/1.009, allocations: 47.22 kB / 0.6234 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.009, allocations: 72.05 kB / 0.6235 GB, free: 1.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.789e-06/1.009, allocations: 0 / 0.6235 GB, free: 1.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.07491/1.084, allocations: 26.3 MB / 0.6492 GB, free: 7.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/1.084, allocations: 273.1 kB / 0.6494 GB, free: 6.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.095, allocations: 7.031 MB / 0.6563 GB, free: 15.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007495/1.096, allocations: 68.33 kB / 0.6564 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003776/1.1, allocations: 4.97 MB / 0.6612 GB, free: 10.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.101, allocations: 1.034 MB / 0.6622 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/1.104, allocations: 1.836 MB / 0.664 GB, free: 7.848 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/1.104, allocations: 301.1 kB / 0.6643 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/1.109, allocations: 3.418 MB / 0.6677 GB, free: 4.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.119, allocations: 8.713 MB / 0.6762 GB, free: 8.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/1.138, allocations: 12.99 MB / 0.6888 GB, free: 9.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/1.138, allocations: 52 kB / 0.6889 GB, free: 9.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03722/1.175, allocations: 13.41 MB / 0.702 GB, free: 11.71 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001903/1.175, allocations: 84.94 kB / 0.7021 GB, free: 11.63 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002913/1.176, allocations: 184 kB / 0.7022 GB, free: 11.45 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00718/1.183, allocations: 1.805 MB / 0.704 GB, free: 9.641 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/1.195, allocations: 2.09 MB / 0.7061 GB, free: 7.547 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/1.218, allocations: 12.62 MB / 0.7184 GB, free: 10.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009616/1.228, allocations: 0.507 MB / 0.7189 GB, free: 10.01 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/1.23, allocations: 0.5352 MB / 0.7194 GB, free: 9.473 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (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.009319/1.239, allocations: 3.331 MB / 0.7227 GB, free: 6.125 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/1.241, allocations: 0.5823 MB / 0.7232 GB, free: 5.535 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3254/1.567, allocations: 5.979 MB / 0.7291 GB, free: 168.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001297/1.567, allocations: 30.03 kB / 0.7291 GB, free: 168.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.286e-05/1.567, allocations: 7.5 kB / 0.7291 GB, free: 168.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001164/1.567, allocations: 15.12 kB / 0.7291 GB, free: 168.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03249/1.6, allocations: 13.36 MB / 0.7422 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.6, allocations: 0 / 0.7422 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.602, allocations: 453.1 kB / 0.7426 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/1.607, allocations: 1.507 MB / 0.7441 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005662/1.607, allocations: 44.72 kB / 0.7441 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.619, allocations: 11.71 MB / 0.7555 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.619, allocations: 3.938 kB / 0.7555 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.635, allocations: 9.733 MB / 0.765 GB, free: 155.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/1.639, allocations: 1.074 MB / 0.7661 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/1.64, allocations: 45.67 kB / 0.7661 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.643, allocations: 185 kB / 0.7663 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005029/1.644, allocations: 158.9 kB / 0.7665 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.644, allocations: 69.69 kB / 0.7665 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00741/1.651, allocations: 4.476 MB / 0.7709 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.11e-07/1.651, allocations: 0 / 0.7709 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01098/1.662, allocations: 1.669 MB / 0.7725 GB, free: 153.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (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.0007969/1.663, allocations: 191 kB / 0.7727 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01608/1.679, allocations: 9.872 MB / 0.7824 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.679, allocations: 0 / 0.7824 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004215/1.683, allocations: 2.845 MB / 0.7851 GB, free: 141.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007295/1.691, allocations: 0.8033 MB / 0.7859 GB, free: 140.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.716, allocations: 15.74 MB / 0.8013 GB, free: 125 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004777/1.721, allocations: 5.071 MB / 0.8062 GB, free: 119.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006766/1.728, allocations: 2.793 MB / 0.809 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.729, allocations: 395.4 kB / 0.8093 GB, free: 116.7 MB / 0.5138 GB Notification: Performance of SimCode: time 3.967e-06/1.729, allocations: 0 / 0.8093 GB, free: 116.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.1182/1.847, allocations: 65 MB / 0.8728 GB, free: 51.81 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches