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.001625/0.001625, allocations: 117 kB / 18.46 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002273/0.002273, allocations: 208 kB / 19.41 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.763/2.763, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3842/0.3842, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002894, allocations: 83.81 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4968, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.03571/0.5326, allocations: 17.84 MB / 0.5491 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.5546, allocations: 5.632 MB / 0.5546 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005852/0.5605, allocations: 131.6 kB / 0.5547 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02075/0.5814, allocations: 6.273 MB / 0.5609 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01346/0.5949, allocations: 2.972 MB / 0.5638 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007/0.6019, allocations: 1.587 MB / 0.5653 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02454/0.6265, allocations: 9.878 MB / 0.575 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01735/0.6439, allocations: 7.985 MB / 0.5828 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008961/0.653, allocations: 3.12 MB / 0.5858 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.6643, allocations: 4.241 MB / 0.5899 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003468/0.6678, allocations: 0.6797 MB / 0.5906 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007054/0.6749, allocations: 1.693 MB / 0.5923 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008112/0.6831, allocations: 3.854 MB / 0.596 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01014/0.6933, allocations: 4.203 MB / 0.6001 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02591/0.7192, allocations: 13.02 MB / 0.6128 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.7193, allocations: 0 / 0.6128 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.7193, allocations: 0 / 0.6128 GB, free: 14.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005132/0.7198, allocations: 0 / 0.6128 GB, free: 14.27 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.03882/0.7587, allocations: 9.271 MB / 0.6219 GB, free: 4.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/0.7588, allocations: 8.031 kB / 0.6219 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03631/0.7951, allocations: 3.545 MB / 0.6254 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02467/0.8198, allocations: 6.04 MB / 0.6313 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006254/0.8205, allocations: 451.7 kB / 0.6317 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003072/0.8236, allocations: 0.5973 MB / 0.6323 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05715/0.8808, allocations: 17.11 MB / 0.649 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000492/0.8813, allocations: 91.33 kB / 0.6491 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002089/0.8834, allocations: 287.7 kB / 0.6493 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009889/0.8933, allocations: 2.885 MB / 0.6522 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05566/0.949, allocations: 14.33 MB / 0.6662 GB, free: 6.395 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8993/1.848, allocations: 64.52 MB / 0.7292 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03139/1.88, allocations: 6.623 MB / 0.7356 GB, free: 120.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007488/1.887, allocations: 3.881 MB / 0.7394 GB, free: 119.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.888, allocations: 0.6487 MB / 0.7401 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/1.889, allocations: 59.53 kB / 0.7401 GB, free: 119 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=231): time 8.866e-06/1.889, allocations: 0 / 0.7401 GB, free: 119 MB / 0.5607 GB Notification: Performance of matching and sorting (n=255): time 0.1422/2.031, allocations: 31.81 MB / 0.7712 GB, free: 98.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/2.031, allocations: 292.5 kB / 0.7715 GB, free: 98.34 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01731/2.048, allocations: 7.328 MB / 0.7786 GB, free: 91.15 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007928/2.049, allocations: 65.7 kB / 0.7787 GB, free: 91.08 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004651/2.054, allocations: 5.272 MB / 0.7838 GB, free: 86.37 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002021/2.056, allocations: 1.045 MB / 0.7849 GB, free: 85.34 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004656/2.061, allocations: 1.857 MB / 0.7867 GB, free: 83.46 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/2.061, allocations: 305.1 kB / 0.787 GB, free: 83.16 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008459/2.069, allocations: 3.424 MB / 0.7903 GB, free: 79.73 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/2.082, allocations: 8.623 MB / 0.7987 GB, free: 68.75 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02028/2.102, allocations: 12.84 MB / 0.8113 GB, free: 53.63 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002227/2.102, allocations: 53.97 kB / 0.8113 GB, free: 53.58 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.0428/2.145, allocations: 13.88 MB / 0.8249 GB, free: 39.68 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.145, allocations: 84 kB / 0.8249 GB, free: 39.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00027/2.145, allocations: 180 kB / 0.8251 GB, free: 39.43 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/2.157, allocations: 2.309 MB / 0.8274 GB, free: 37.11 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/2.167, allocations: 2.031 MB / 0.8293 GB, free: 35.07 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/2.191, allocations: 16.72 MB / 0.8457 GB, free: 17.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.203, allocations: 0.4957 MB / 0.8462 GB, free: 17.32 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/2.205, allocations: 0.523 MB / 0.8467 GB, free: 16.8 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.007801/2.212, allocations: 3.407 MB / 0.85 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/2.214, allocations: 0.6364 MB / 0.8506 GB, free: 12.75 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/2.23, allocations: 6.457 MB / 0.8569 GB, free: 6.262 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-05/2.231, allocations: 11.95 kB / 0.8569 GB, free: 6.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/2.231, allocations: 0 / 0.8569 GB, free: 6.25 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/2.233, allocations: 0.7075 MB / 0.8576 GB, free: 5.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00234/2.236, allocations: 43.94 kB / 0.8577 GB, free: 5.477 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00521/2.241, allocations: 191.7 kB / 0.8579 GB, free: 5.289 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/2.242, allocations: 177.7 kB / 0.858 GB, free: 5.117 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02098/2.263, allocations: 6.852 MB / 0.8647 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02049/2.284, allocations: 8.292 MB / 0.8728 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005124/2.289, allocations: 2.173 MB / 0.8749 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01386/2.303, allocations: 4.663 MB / 0.8795 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of Backend: time 1.703e-06/2.303, allocations: 0 / 0.8795 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02509/2.328, allocations: 6.857 MB / 0.8862 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0521/2.38, allocations: 16.39 MB / 0.9022 GB, free: 7.84 MB / 0.6076 GB Notification: Performance of Templates: time 0.9789/3.359, allocations: 78.47 MB / 0.9788 GB, free: 252.5 MB / 0.6701 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