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.0006611/0.0006611, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007284/0.0007284, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.103/1.103, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1603/0.1603, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002083/0.0002083, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.0858, allocations: 63.55 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.207/0.2928, allocations: 63.13 MB / 0.5334 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.313, allocations: 12.95 MB / 0.546 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007025/0.32, allocations: 282.1 kB / 0.5463 GB, free: 360 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.3209, allocations: 0.4898 MB / 0.5468 GB, free: 160 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.3245, allocations: 2.069 MB / 0.5488 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.3258, allocations: 0.8125 MB / 0.5496 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006676/0.3325, allocations: 8.667 MB / 0.5581 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006539/0.339, allocations: 6.3 MB / 0.5642 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.3405, allocations: 1.439 MB / 0.5656 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.3427, allocations: 2.449 MB / 0.568 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.343, allocations: 164 kB / 0.5682 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.3447, allocations: 1.287 MB / 0.5694 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.3462, allocations: 2.17 MB / 0.5715 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.3478, allocations: 2.4 MB / 0.5739 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005531/0.3533, allocations: 8.031 MB / 0.5817 GB, free: 1.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3533, allocations: 3.984 kB / 0.5817 GB, free: 1.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3533, allocations: 0 / 0.5817 GB, free: 1.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.7e-05/0.3534, allocations: 0 / 0.5817 GB, free: 1.5 MB / 414.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.007237/0.3606, allocations: 4.956 MB / 0.5866 GB, free: 12.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.3607, allocations: 8.031 kB / 0.5866 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009997/0.3707, allocations: 2.603 MB / 0.5891 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/0.3763, allocations: 3.672 MB / 0.5927 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.3765, allocations: 279.5 kB / 0.593 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005546/0.3771, allocations: 383.6 kB / 0.5933 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.3918, allocations: 11.63 MB / 0.6047 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.392, allocations: 55.53 kB / 0.6047 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003753/0.3923, allocations: 179.8 kB / 0.6049 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00305/0.3954, allocations: 2.143 MB / 0.607 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.4104, allocations: 9.656 MB / 0.6164 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/0.4516, allocations: 45.99 MB / 0.6613 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008862/0.4605, allocations: 3.915 MB / 0.6652 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.4627, allocations: 2.142 MB / 0.6673 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007222/0.47, allocations: 5.87 MB / 0.673 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.47, allocations: 60.05 kB / 0.6731 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 3.076e-06/0.47, allocations: 0 / 0.6731 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=162): time 0.0374/0.5074, allocations: 17.34 MB / 0.69 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5076, allocations: 230.1 kB / 0.6902 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006093/0.5137, allocations: 5.619 MB / 0.6957 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.5138, allocations: 45.7 kB / 0.6957 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002184/0.516, allocations: 3.713 MB / 0.6994 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.5164, allocations: 0.656 MB / 0.7 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005958/0.517, allocations: 0.6029 MB / 0.7006 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.5171, allocations: 305.1 kB / 0.7009 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.5199, allocations: 2.289 MB / 0.7031 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1759/0.6958, allocations: 6.544 MB / 0.7095 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007687/0.7035, allocations: 9.51 MB / 0.7188 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.849e-05/0.7036, allocations: 43.59 kB / 0.7188 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01351/0.7171, allocations: 9.577 MB / 0.7282 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.7172, allocations: 71.56 kB / 0.7283 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/0.7174, allocations: 152.2 kB / 0.7284 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.7201, allocations: 1.235 MB / 0.7296 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/0.7238, allocations: 1.559 MB / 0.7311 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006635/0.7304, allocations: 7.906 MB / 0.7388 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/0.7339, allocations: 366.8 kB / 0.7392 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.7343, allocations: 421.5 kB / 0.7396 GB, free: 159.5 MB / 0.5294 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.002415/0.7367, allocations: 2.456 MB / 0.742 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004256/0.7372, allocations: 460 kB / 0.7424 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/0.7418, allocations: 3.389 MB / 0.7457 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.7418, allocations: 18.75 kB / 0.7458 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.7418, allocations: 7.625 kB / 0.7458 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.7418, allocations: 18.31 kB / 0.7458 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009107/0.7509, allocations: 8.203 MB / 0.7538 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.751, allocations: 4 kB / 0.7538 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/0.7519, allocations: 255.6 kB / 0.754 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/0.754, allocations: 0.9991 MB / 0.755 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/0.7541, allocations: 32 kB / 0.7551 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005804/0.7599, allocations: 7.223 MB / 0.7621 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7599, allocations: 4.094 kB / 0.7621 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.7658, allocations: 5.866 MB / 0.7678 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005819/0.7664, allocations: 0.5302 MB / 0.7684 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/0.7668, allocations: 32 kB / 0.7684 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.768, allocations: 87.88 kB / 0.7685 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.7682, allocations: 100.8 kB / 0.7686 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.7683, allocations: 47.89 kB / 0.7686 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003199/0.7715, allocations: 3.596 MB / 0.7721 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7715, allocations: 0 / 0.7721 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003915/0.7754, allocations: 1.144 MB / 0.7732 GB, free: 131.7 MB / 0.5294 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.000261/0.7757, allocations: 156 kB / 0.7734 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005122/0.7808, allocations: 5.541 MB / 0.7788 GB, free: 126 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7809, allocations: 0.7656 kB / 0.7788 GB, free: 126 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.7823, allocations: 1.624 MB / 0.7804 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/0.7863, allocations: 0.5603 MB / 0.7809 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.7969, allocations: 13.18 MB / 0.7938 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/0.7996, allocations: 3.772 MB / 0.7975 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003688/0.8033, allocations: 2.116 MB / 0.7996 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.8038, allocations: 287.4 kB / 0.7998 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.8038, allocations: 0 / 0.7998 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.04929/0.8531, allocations: 42.59 MB / 0.8414 GB, free: 61.94 MB / 0.5294 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