Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 79.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2833, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.01744/0.3008, allocations: 17.85 MB / 0.5491 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3121, allocations: 5.627 MB / 0.5546 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.3153, allocations: 131.6 kB / 0.5547 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.3263, allocations: 6.273 MB / 0.5609 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007389/0.3337, allocations: 2.882 MB / 0.5637 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.3375, allocations: 1.591 MB / 0.5652 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01336/0.3509, allocations: 9.878 MB / 0.5749 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.3614, allocations: 7.983 MB / 0.5827 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005869/0.3673, allocations: 3.124 MB / 0.5857 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006054/0.3734, allocations: 4.234 MB / 0.5898 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.3753, allocations: 0.6836 MB / 0.5905 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/0.3791, allocations: 1.693 MB / 0.5922 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004143/0.3833, allocations: 3.854 MB / 0.5959 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005793/0.3891, allocations: 4.203 MB / 0.6 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.4024, allocations: 12.97 MB / 0.6127 GB, free: 14.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4024, allocations: 0 / 0.6127 GB, free: 14.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4024, allocations: 0 / 0.6127 GB, free: 14.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000355/0.4028, allocations: 0 / 0.6127 GB, free: 14.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01885/0.4217, allocations: 9.038 MB / 0.6215 GB, free: 5.281 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4217, allocations: 8.031 kB / 0.6215 GB, free: 5.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.4386, allocations: 3.493 MB / 0.6249 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.4512, allocations: 6.014 MB / 0.6308 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.4515, allocations: 455.6 kB / 0.6313 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001764/0.4533, allocations: 0.5933 MB / 0.6318 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/0.4824, allocations: 17.1 MB / 0.6485 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002187/0.4827, allocations: 87.2 kB / 0.6486 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006591/0.4833, allocations: 275.8 kB / 0.6489 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004801/0.4882, allocations: 2.897 MB / 0.6517 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.5155, allocations: 14.33 MB / 0.6657 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5552/1.071, allocations: 64.41 MB / 0.7286 GB, free: 121.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/1.088, allocations: 6.62 MB / 0.7351 GB, free: 120.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003905/1.092, allocations: 3.885 MB / 0.7389 GB, free: 120.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/1.092, allocations: 0.6469 MB / 0.7395 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.093, allocations: 61.69 kB / 0.7396 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=231): time 4.699e-06/1.093, allocations: 2.953 kB / 0.7396 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=255): time 0.07835/1.171, allocations: 31.3 MB / 0.7701 GB, free: 99.28 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/1.171, allocations: 292.5 kB / 0.7704 GB, free: 98.94 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008191/1.179, allocations: 7.316 MB / 0.7776 GB, free: 91.64 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006525/1.18, allocations: 65.7 kB / 0.7776 GB, free: 91.57 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002416/1.182, allocations: 5.08 MB / 0.7826 GB, free: 86.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.183, allocations: 1.002 MB / 0.7836 GB, free: 85.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/1.185, allocations: 1.853 MB / 0.7854 GB, free: 83.64 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/1.185, allocations: 305.1 kB / 0.7857 GB, free: 83.34 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/1.189, allocations: 3.426 MB / 0.789 GB, free: 79.91 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005234/1.194, allocations: 8.62 MB / 0.7974 GB, free: 68.93 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.204, allocations: 12.84 MB / 0.81 GB, free: 53.81 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.205, allocations: 52 kB / 0.81 GB, free: 53.76 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.0208/1.225, allocations: 13.84 MB / 0.8235 GB, free: 39.9 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.226, allocations: 80.28 kB / 0.8236 GB, free: 39.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.226, allocations: 181.6 kB / 0.8238 GB, free: 39.64 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/1.231, allocations: 2.308 MB / 0.826 GB, free: 37.32 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/1.237, allocations: 2.035 MB / 0.828 GB, free: 35.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/1.253, allocations: 16.7 MB / 0.8443 GB, free: 18.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006945/1.26, allocations: 0.4954 MB / 0.8448 GB, free: 17.54 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/1.262, allocations: 0.5235 MB / 0.8453 GB, free: 17.02 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1086): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (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.005651/1.267, allocations: 3.406 MB / 0.8486 GB, free: 13.6 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/1.269, allocations: 0.6054 MB / 0.8492 GB, free: 12.99 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/1.28, allocations: 6.453 MB / 0.8555 GB, free: 6.508 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/1.28, allocations: 14.45 kB / 0.8556 GB, free: 6.496 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.28, allocations: 7.938 kB / 0.8556 GB, free: 6.488 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.282, allocations: 0.6767 MB / 0.8562 GB, free: 5.785 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/1.283, allocations: 40 kB / 0.8563 GB, free: 5.746 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/1.286, allocations: 187.7 kB / 0.8564 GB, free: 5.562 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004883/1.287, allocations: 177.7 kB / 0.8566 GB, free: 5.391 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0113/1.298, allocations: 6.847 MB / 0.8633 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01088/1.309, allocations: 8.27 MB / 0.8714 GB, free: 6.223 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002638/1.312, allocations: 2.155 MB / 0.8735 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008677/1.32, allocations: 4.664 MB / 0.878 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of Backend: time 8.41e-07/1.32, allocations: 0 / 0.878 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.336, allocations: 6.845 MB / 0.8847 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03094/1.367, allocations: 16.12 MB / 0.9005 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.4061/1.773, allocations: 79.32 MB / 0.9779 GB, free: 252.5 MB / 0.67 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches