Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001756, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 77.69 kB / 416.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1523, allocations: 62.45 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3536/0.5059, allocations: 64.72 MB / 0.5313 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03809/0.5441, allocations: 13.01 MB / 0.544 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0182/0.5623, allocations: 283.6 kB / 0.5442 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008166/0.5705, allocations: 3.708 MB / 0.5479 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007255/0.5779, allocations: 2.06 MB / 0.5499 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.5807, allocations: 0.9274 MB / 0.5508 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.5929, allocations: 8.674 MB / 0.5593 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007053/0.6, allocations: 4.511 MB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005318/0.6053, allocations: 1.736 MB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/0.6113, allocations: 2.808 MB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.6129, allocations: 288 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.6166, allocations: 1.416 MB / 0.5698 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003359/0.62, allocations: 2.345 MB / 0.572 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00436/0.6244, allocations: 2.605 MB / 0.5746 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.6359, allocations: 8.282 MB / 0.5827 GB, free: 13.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.636, allocations: 0 / 0.5827 GB, free: 13.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.636, allocations: 0 / 0.5827 GB, free: 13.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003361/0.6363, allocations: 0 / 0.5827 GB, free: 13.48 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01907/0.6554, allocations: 6.008 MB / 0.5885 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/0.6555, allocations: 8.031 kB / 0.5886 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.6677, allocations: 2.552 MB / 0.591 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009656/0.6774, allocations: 3.66 MB / 0.5946 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.6778, allocations: 279.7 kB / 0.5949 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.6795, allocations: 383.7 kB / 0.5953 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.7018, allocations: 11.61 MB / 0.6066 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001708/0.702, allocations: 59.44 kB / 0.6066 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004791/0.7025, allocations: 179.8 kB / 0.6068 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.706, allocations: 2.151 MB / 0.6089 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/0.7258, allocations: 9.625 MB / 0.6183 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06358/0.7894, allocations: 45.96 MB / 0.6632 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.7999, allocations: 3.902 MB / 0.667 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.8029, allocations: 2.145 MB / 0.6691 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.8137, allocations: 5.87 MB / 0.6748 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.8138, allocations: 62.94 kB / 0.6749 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.699e-06/0.8138, allocations: 4 kB / 0.6749 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04784/0.8617, allocations: 17.35 MB / 0.6918 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/0.8619, allocations: 222.1 kB / 0.6921 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009976/0.8719, allocations: 5.635 MB / 0.6976 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005589/0.8725, allocations: 45.7 kB / 0.6976 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003383/0.8759, allocations: 3.705 MB / 0.7012 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.8771, allocations: 0.656 MB / 0.7019 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002169/0.8792, allocations: 1.411 MB / 0.7032 GB, free: 15.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8794, allocations: 305.1 kB / 0.7035 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/0.8829, allocations: 2.285 MB / 0.7058 GB, free: 12.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0065/0.8894, allocations: 6.559 MB / 0.7122 GB, free: 3.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3134/1.203, allocations: 9.5 MB / 0.7214 GB, free: 185.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/1.203, allocations: 43.22 kB / 0.7215 GB, free: 185.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02024/1.223, allocations: 9.585 MB / 0.7308 GB, free: 182.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/1.224, allocations: 71.55 kB / 0.7309 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000277/1.224, allocations: 150.6 kB / 0.7311 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003564/1.227, allocations: 1.232 MB / 0.7323 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005184/1.233, allocations: 1.557 MB / 0.7338 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.244, allocations: 7.897 MB / 0.7415 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006534/1.25, allocations: 368.8 kB / 0.7418 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.251, allocations: 429.2 kB / 0.7423 GB, free: 177.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (836): * Single equations (assignments): 829 * 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%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004049/1.255, allocations: 2.453 MB / 0.7446 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009474/1.256, allocations: 463.6 kB / 0.7451 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/1.262, allocations: 3.386 MB / 0.7484 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/1.262, allocations: 15.69 kB / 0.7484 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.262, allocations: 7.844 kB / 0.7484 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.262, allocations: 7.547 kB / 0.7484 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.276, allocations: 8.221 MB / 0.7565 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.276, allocations: 3.516 kB / 0.7565 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.277, allocations: 254.1 kB / 0.7567 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/1.279, allocations: 1.007 MB / 0.7577 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/1.28, allocations: 28 kB / 0.7577 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/1.287, allocations: 7.227 MB / 0.7648 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.287, allocations: 0 / 0.7648 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007652/1.294, allocations: 5.857 MB / 0.7705 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.296, allocations: 0.5163 MB / 0.771 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/1.296, allocations: 43.83 kB / 0.771 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.298, allocations: 91.88 kB / 0.7711 GB, free: 157.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.298, allocations: 92.81 kB / 0.7712 GB, free: 157.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.298, allocations: 47.94 kB / 0.7713 GB, free: 157.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004712/1.303, allocations: 3.592 MB / 0.7748 GB, free: 153.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-07/1.303, allocations: 0 / 0.7748 GB, free: 153.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006403/1.309, allocations: 1.148 MB / 0.7759 GB, free: 152.7 MB / 0.545 GB 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 (120): * Single equations (assignments): 115 * 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.0004844/1.31, allocations: 155.9 kB / 0.776 GB, free: 152.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008359/1.318, allocations: 5.538 MB / 0.7814 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/1.318, allocations: 0 / 0.7814 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.32, allocations: 1.62 MB / 0.783 GB, free: 145.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/1.324, allocations: 0.5706 MB / 0.7836 GB, free: 144.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/1.341, allocations: 13.06 MB / 0.7963 GB, free: 131.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003637/1.345, allocations: 3.772 MB / 0.8 GB, free: 127.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004871/1.35, allocations: 2.115 MB / 0.8021 GB, free: 125.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/1.35, allocations: 291.4 kB / 0.8024 GB, free: 125.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.093e-06/1.35, allocations: 0 / 0.8024 GB, free: 125.5 MB / 0.545 GB Notification: Performance of Templates: time 0.06707/1.417, allocations: 43.21 MB / 0.8446 GB, free: 82.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches