Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007483/0.0007485, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000858/0.000858, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1993/0.1993, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 63.56 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.2998/0.4144, allocations: 86.2 MB / 0.5566 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04265/0.4571, allocations: 16.91 MB / 0.5731 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02038/0.4776, allocations: 383.1 kB / 0.5735 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.4799, allocations: 0.5868 MB / 0.574 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007506/0.4875, allocations: 2.39 MB / 0.5764 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.4904, allocations: 1.034 MB / 0.5774 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.5046, allocations: 11.4 MB / 0.5885 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/0.5173, allocations: 8.071 MB / 0.5964 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.5215, allocations: 1.817 MB / 0.5982 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005566/0.5271, allocations: 3.161 MB / 0.6012 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.5287, allocations: 219.9 kB / 0.6015 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.5324, allocations: 1.303 MB / 0.6027 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004059/0.5365, allocations: 2.762 MB / 0.6054 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005292/0.5418, allocations: 3.033 MB / 0.6084 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.5519, allocations: 8.367 MB / 0.6166 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5519, allocations: 4 kB / 0.6166 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.5519, allocations: 0 / 0.6166 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004068/0.5523, allocations: 7.938 kB / 0.6166 GB, free: 14.42 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01493/0.5673, allocations: 6.2 MB / 0.6226 GB, free: 8.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5674, allocations: 8.875 kB / 0.6226 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/0.5838, allocations: 3.136 MB / 0.6257 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.5951, allocations: 4.744 MB / 0.6303 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/0.5955, allocations: 361.8 kB / 0.6307 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.5975, allocations: 488 kB / 0.6311 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02928/0.6268, allocations: 14.33 MB / 0.6451 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003673/0.6272, allocations: 71.36 kB / 0.6452 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/0.629, allocations: 227.8 kB / 0.6454 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004774/0.6338, allocations: 2.543 MB / 0.6479 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.6588, allocations: 11.88 MB / 0.6595 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3332/0.9921, allocations: 56.17 MB / 0.7144 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/1.005, allocations: 4.648 MB / 0.7189 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/1.009, allocations: 2.905 MB / 0.7217 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/1.01, allocations: 44.3 kB / 0.7218 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/1.01, allocations: 51.3 kB / 0.7218 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 5.731e-06/1.01, allocations: 2.844 kB / 0.7218 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.06467/1.074, allocations: 23.12 MB / 0.7444 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/1.074, allocations: 255.5 kB / 0.7446 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/1.086, allocations: 6.673 MB / 0.7512 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005121/1.086, allocations: 52.95 kB / 0.7512 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002843/1.089, allocations: 4.489 MB / 0.7556 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.09, allocations: 0.8213 MB / 0.7564 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/1.092, allocations: 0.7054 MB / 0.7571 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.96e-05/1.092, allocations: 304.3 kB / 0.7574 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004494/1.096, allocations: 2.895 MB / 0.7602 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00635/1.103, allocations: 7.803 MB / 0.7678 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.113, allocations: 11.44 MB / 0.779 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/1.113, allocations: 48 kB / 0.779 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02069/1.134, allocations: 11.92 MB / 0.7907 GB, free: 88.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/1.134, allocations: 83.12 kB / 0.7908 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/1.135, allocations: 172.9 kB / 0.7909 GB, free: 88.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/1.139, allocations: 1.775 MB / 0.7927 GB, free: 86.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005753/1.145, allocations: 1.84 MB / 0.7945 GB, free: 85.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/1.158, allocations: 11.77 MB / 0.806 GB, free: 72.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007547/1.165, allocations: 460.4 kB / 0.8064 GB, free: 72.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.167, allocations: 488 kB / 0.8069 GB, free: 71.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 (987): * Single equations (assignments): 981 * 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.0061/1.173, allocations: 2.967 MB / 0.8098 GB, free: 68.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/1.174, allocations: 0.5443 MB / 0.8103 GB, free: 68.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009471/1.184, allocations: 4.868 MB / 0.815 GB, free: 63.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.361e-05/1.184, allocations: 29.27 kB / 0.8151 GB, free: 63.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-05/1.184, allocations: 11.94 kB / 0.8151 GB, free: 63.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.98e-05/1.184, allocations: 15.95 kB / 0.8151 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/1.206, allocations: 11.11 MB / 0.8259 GB, free: 52.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.206, allocations: 3.984 kB / 0.8259 GB, free: 52.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.207, allocations: 323.5 kB / 0.8263 GB, free: 52.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/1.212, allocations: 1.495 MB / 0.8277 GB, free: 50.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/1.212, allocations: 36 kB / 0.8278 GB, free: 50.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.223, allocations: 10.84 MB / 0.8383 GB, free: 39.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.223, allocations: 0 / 0.8383 GB, free: 39.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/1.235, allocations: 7.989 MB / 0.8461 GB, free: 31.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.237, allocations: 0.6111 MB / 0.8467 GB, free: 30.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.239, allocations: 43.91 kB / 0.8468 GB, free: 30.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/1.242, allocations: 147.8 kB / 0.8469 GB, free: 30.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005755/1.242, allocations: 128.9 kB / 0.847 GB, free: 30.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.243, allocations: 55.98 kB / 0.8471 GB, free: 30.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007384/1.25, allocations: 4.249 MB / 0.8512 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/1.25, allocations: 0 / 0.8512 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008251/1.258, allocations: 1.454 MB / 0.8527 GB, free: 24.54 MB / 0.5294 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 (153): * Single equations (assignments): 147 * 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.0007486/1.259, allocations: 169.5 kB / 0.8528 GB, free: 24.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.271, allocations: 7.093 MB / 0.8597 GB, free: 17.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/1.271, allocations: 4 kB / 0.8598 GB, free: 17.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003604/1.274, allocations: 2.281 MB / 0.862 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006635/1.281, allocations: 0.7115 MB / 0.8627 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/1.307, allocations: 17.11 MB / 0.8794 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006907/1.314, allocations: 4.5 MB / 0.8838 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/1.316, allocations: 407.4 kB / 0.8842 GB, free: 8.164 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.316, allocations: 0 / 0.8842 GB, free: 8.164 MB / 0.545 GB Notification: Performance of Templates: time 0.4187/1.734, allocations: 163.6 MB / 1.044 GB, free: 106.2 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches