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.001136/0.001136, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002492/0.002492, 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.381/1.381, 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.2058/0.2058, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2825, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01309/0.2956, allocations: 12.67 MB / 0.544 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3057, allocations: 4.504 MB / 0.5484 GB, free: 124 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.3083, allocations: 84.91 kB / 0.5485 GB, free: 108 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006663/0.3149, allocations: 3.707 MB / 0.5521 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.3201, allocations: 2.182 MB / 0.5543 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.3222, allocations: 1.002 MB / 0.5553 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007155/0.3293, allocations: 6.042 MB / 0.5612 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004544/0.3339, allocations: 4.551 MB / 0.5656 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.3363, allocations: 1.955 MB / 0.5675 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.3394, allocations: 2.617 MB / 0.5701 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007913/0.3402, allocations: 408 kB / 0.5705 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.3427, allocations: 1.439 MB / 0.5719 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.3448, allocations: 2.447 MB / 0.5742 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.3474, allocations: 2.707 MB / 0.5769 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008241/0.3557, allocations: 8.62 MB / 0.5853 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3557, allocations: 0 / 0.5853 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3557, allocations: 0 / 0.5853 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001473/0.3559, allocations: 0 / 0.5853 GB, free: 10.59 MB / 446.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.0114/0.3673, allocations: 6.028 MB / 0.5912 GB, free: 4.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3673, allocations: 8.031 kB / 0.5912 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.3782, allocations: 2.54 MB / 0.5937 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007475/0.3857, allocations: 3.742 MB / 0.5973 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.3859, allocations: 275.5 kB / 0.5976 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008898/0.3868, allocations: 375.7 kB / 0.598 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.4047, allocations: 11.61 MB / 0.6093 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/0.4049, allocations: 59.44 kB / 0.6094 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005706/0.4055, allocations: 179.8 kB / 0.6095 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.4089, allocations: 2.155 MB / 0.6116 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.4261, allocations: 9.621 MB / 0.621 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05356/0.4797, allocations: 45.77 MB / 0.6657 GB, free: 5.945 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009975/0.4897, allocations: 3.913 MB / 0.6695 GB, free: 1.883 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.4924, allocations: 2.135 MB / 0.6716 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009195/0.5017, allocations: 5.866 MB / 0.6774 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.5017, allocations: 56.05 kB / 0.6774 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.298e-06/0.5017, allocations: 0 / 0.6774 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04586/0.5476, allocations: 17.37 MB / 0.6944 GB, free: 8.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5478, allocations: 230.2 kB / 0.6946 GB, free: 7.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008715/0.5565, allocations: 5.619 MB / 0.7001 GB, free: 2.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.5568, allocations: 49.69 kB / 0.7001 GB, free: 2.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002903/0.5597, allocations: 3.713 MB / 0.7038 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008973/0.5606, allocations: 0.6521 MB / 0.7044 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002323/0.563, allocations: 1.415 MB / 0.7058 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5631, allocations: 305.1 kB / 0.7061 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003862/0.567, allocations: 2.289 MB / 0.7083 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00697/0.574, allocations: 6.551 MB / 0.7147 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2424/0.8164, allocations: 9.503 MB / 0.724 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.199e-05/0.8165, allocations: 42.97 kB / 0.724 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.0137/0.8302, allocations: 9.579 MB / 0.7334 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.8303, allocations: 69.94 kB / 0.7334 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.8304, allocations: 152.1 kB / 0.7336 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.833, allocations: 1.229 MB / 0.7348 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.8371, allocations: 1.563 MB / 0.7363 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/0.8449, allocations: 8.46 MB / 0.7446 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/0.8492, allocations: 363.6 kB / 0.7449 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005564/0.8497, allocations: 421 kB / 0.7453 GB, free: 141.8 MB / 0.5606 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.002833/0.8526, allocations: 2.465 MB / 0.7477 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006383/0.8532, allocations: 454.9 kB / 0.7482 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005194/0.8584, allocations: 3.39 MB / 0.7515 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.8584, allocations: 7.969 kB / 0.7515 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.8585, allocations: 4 kB / 0.7515 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/0.8593, allocations: 0.5234 MB / 0.752 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000724/0.8601, allocations: 20 kB / 0.752 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.8617, allocations: 95.88 kB / 0.7521 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.8619, allocations: 108.7 kB / 0.7522 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005548/0.8675, allocations: 3.904 MB / 0.756 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004397/0.8719, allocations: 4.895 MB / 0.7608 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001086/0.873, allocations: 1.19 MB / 0.762 GB, free: 126 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004307/0.8773, allocations: 3.572 MB / 0.7655 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of Backend: time 1.122e-06/0.8773, allocations: 0 / 0.7655 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007399/0.8847, allocations: 4.756 MB / 0.7701 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01271/0.8974, allocations: 11.09 MB / 0.7809 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07996/0.9774, allocations: 53.78 MB / 0.8334 GB, free: 53.13 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches