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.001567/0.001567, allocations: 106.2 kB / 17.03 MB, free: 6.102 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.001666/0.001666, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.559/1.559, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2305/0.2305, allocations: 43.53 MB / 314.7 MB, free: 468 kB / 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.001626/0.001627, allocations: 71.62 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1494, allocations: 57.8 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01562/0.1651, allocations: 14.22 MB / 456.2 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.1774, allocations: 4.657 MB / 460.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.181, allocations: 95.69 kB / 460.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007395/0.1884, allocations: 3.773 MB / 464.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008476/0.197, allocations: 2.42 MB / 467.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.1998, allocations: 1.01 MB / 468.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.2101, allocations: 6.033 MB / 474.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006329/0.2165, allocations: 4.734 MB / 478.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005476/0.222, allocations: 2.122 MB / 481 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005686/0.2277, allocations: 2.885 MB / 483.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.2291, allocations: 460 kB / 484.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.2325, allocations: 1.471 MB / 485.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003044/0.2355, allocations: 2.685 MB / 488.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004551/0.2401, allocations: 3.029 MB / 491.5 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.252, allocations: 9.643 MB / 0.4894 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2521, allocations: 8 kB / 0.4894 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2521, allocations: 0 / 0.4894 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004081/0.2525, allocations: 0 / 0.4894 GB, free: 10.64 MB / 382.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.02073/0.2732, allocations: 6.546 MB / 0.4958 GB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.2733, allocations: 11.89 kB / 0.4959 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.2853, allocations: 2.66 MB / 0.4984 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.2959, allocations: 4.063 MB / 0.5024 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.2962, allocations: 316.1 kB / 0.5027 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.2981, allocations: 419.5 kB / 0.5031 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/0.3248, allocations: 13 MB / 0.5158 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002123/0.325, allocations: 59.52 kB / 0.5159 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006423/0.3257, allocations: 191.8 kB / 0.5161 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004542/0.3303, allocations: 2.511 MB / 0.5185 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02328/0.3536, allocations: 10.83 MB / 0.5291 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3506/0.7042, allocations: 49.93 MB / 0.5778 GB, free: 44.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009968/0.7143, allocations: 4.55 MB / 0.5823 GB, free: 41.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003051/0.7173, allocations: 2.459 MB / 0.5847 GB, free: 40.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/0.7296, allocations: 6.734 MB / 0.5913 GB, free: 34.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/0.7298, allocations: 47.66 kB / 0.5913 GB, free: 34.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=183): time 8.746e-06/0.7298, allocations: 4 kB / 0.5913 GB, free: 34.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=195): time 0.04336/0.7732, allocations: 19.42 MB / 0.6103 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.7733, allocations: 223.2 kB / 0.6105 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007665/0.7809, allocations: 5.917 MB / 0.6163 GB, free: 9.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000537/0.7815, allocations: 57.64 kB / 0.6163 GB, free: 9.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002404/0.7839, allocations: 4.06 MB / 0.6203 GB, free: 5.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001615/0.7856, allocations: 0.7804 MB / 0.621 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002761/0.7883, allocations: 1.527 MB / 0.6225 GB, free: 2.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.7884, allocations: 309.1 kB / 0.6228 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/0.792, allocations: 2.634 MB / 0.6254 GB, free: 15.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007859/0.7999, allocations: 7.155 MB / 0.6324 GB, free: 6.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/0.8143, allocations: 10.51 MB / 0.6427 GB, free: 9.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001815/0.8145, allocations: 44 kB / 0.6427 GB, free: 9.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02421/0.8388, allocations: 10.58 MB / 0.653 GB, free: 15.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.8389, allocations: 72 kB / 0.6531 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002478/0.8392, allocations: 160 kB / 0.6533 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003247/0.8425, allocations: 1.243 MB / 0.6545 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/0.8489, allocations: 1.723 MB / 0.6561 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.8598, allocations: 8.488 MB / 0.6644 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007227/0.8671, allocations: 411.4 kB / 0.6648 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/0.8688, allocations: 459.3 kB / 0.6653 GB, free: 2.207 MB / 462.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.005783/0.8746, allocations: 2.689 MB / 0.6679 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/0.8761, allocations: 489.7 kB / 0.6684 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007976/0.8841, allocations: 4.029 MB / 0.6723 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-05/0.8842, allocations: 20.75 kB / 0.6723 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.347e-05/0.8842, allocations: 11.94 kB / 0.6723 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.8842, allocations: 7.969 kB / 0.6723 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.9028, allocations: 9.543 MB / 0.6817 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.9029, allocations: 8 kB / 0.6817 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.9045, allocations: 323.5 kB / 0.682 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/0.9071, allocations: 1.006 MB / 0.683 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.9073, allocations: 38.19 kB / 0.683 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009124/0.9165, allocations: 7.819 MB / 0.6906 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9165, allocations: 4 kB / 0.6906 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.927, allocations: 6.888 MB / 0.6974 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/0.9302, allocations: 0.846 MB / 0.6982 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009987/0.9312, allocations: 28 kB / 0.6982 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.9331, allocations: 122 kB / 0.6983 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.9334, allocations: 112.9 kB / 0.6984 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.9336, allocations: 55.98 kB / 0.6985 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006416/0.94, allocations: 3.782 MB / 0.7022 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.94, allocations: 0 / 0.7022 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007933/0.948, allocations: 1.298 MB / 0.7034 GB, free: 10.68 MB / 0.4981 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 (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.0004345/0.9484, allocations: 174.5 kB / 0.7036 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01039/0.9588, allocations: 6.327 MB / 0.7098 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.9589, allocations: 4 kB / 0.7098 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/0.9614, allocations: 1.914 MB / 0.7117 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/0.9651, allocations: 0.6222 MB / 0.7123 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.986, allocations: 12.04 MB / 0.724 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/0.9913, allocations: 4.131 MB / 0.7281 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.2458/1.237, allocations: 2.311 MB / 0.7303 GB, free: 171.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/1.239, allocations: 319 kB / 0.7306 GB, free: 171.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.723e-06/1.239, allocations: 0 / 0.7306 GB, free: 171.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.07965/1.319, allocations: 42.23 MB / 0.7719 GB, free: 152.7 MB / 0.5137 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches