Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009538/0.0009537, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.00113, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002865, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 63.55 MB / 483.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.2954/0.4128, allocations: 74.62 MB / 0.5453 GB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0355/0.4484, allocations: 14.93 MB / 0.5598 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01633/0.4647, allocations: 331.5 kB / 0.5602 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.4668, allocations: 0.5461 MB / 0.5607 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005664/0.4725, allocations: 2.107 MB / 0.5627 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.4749, allocations: 0.9345 MB / 0.5637 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.4858, allocations: 9.256 MB / 0.5727 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01058/0.4964, allocations: 7.569 MB / 0.5801 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.4995, allocations: 1.568 MB / 0.5816 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003973/0.5034, allocations: 2.69 MB / 0.5842 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.5045, allocations: 192 kB / 0.5844 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.5073, allocations: 1.283 MB / 0.5857 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00273/0.51, allocations: 2.411 MB / 0.588 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00386/0.5139, allocations: 2.711 MB / 0.5907 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008461/0.5224, allocations: 7.576 MB / 0.5981 GB, free: 1.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5224, allocations: 0 / 0.5981 GB, free: 1.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5224, allocations: 0 / 0.5981 GB, free: 1.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003387/0.5228, allocations: 0 / 0.5981 GB, free: 1.422 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.01283/0.5356, allocations: 5.577 MB / 0.6035 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5357, allocations: 9.953 kB / 0.6035 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.548, allocations: 2.684 MB / 0.6062 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008259/0.5563, allocations: 3.832 MB / 0.6099 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.5566, allocations: 337.1 kB / 0.6102 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.5581, allocations: 460 kB / 0.6107 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02703/0.5852, allocations: 14.02 MB / 0.6244 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002564/0.5855, allocations: 63.38 kB / 0.6244 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/0.5869, allocations: 211.8 kB / 0.6246 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004759/0.5917, allocations: 2.543 MB / 0.6271 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.6165, allocations: 12.02 MB / 0.6388 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07015/0.6867, allocations: 53.52 MB / 0.6911 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/0.7048, allocations: 6.527 MB / 0.6975 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00484/0.7097, allocations: 3.6 MB / 0.701 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.7099, allocations: 41.27 kB / 0.701 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.71, allocations: 59.91 kB / 0.7011 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=218): time 5.711e-06/0.71, allocations: 0 / 0.7011 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=260): time 0.3388/1.049, allocations: 31.59 MB / 0.7319 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/1.049, allocations: 214.7 kB / 0.7321 GB, free: 174 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008528/1.057, allocations: 5.954 MB / 0.738 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007724/1.058, allocations: 64.45 kB / 0.738 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002238/1.061, allocations: 3.988 MB / 0.7419 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.062, allocations: 0.9962 MB / 0.7429 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009597/1.063, allocations: 0.6687 MB / 0.7435 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/1.063, allocations: 312.6 kB / 0.7438 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/1.067, allocations: 3.467 MB / 0.7472 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005951/1.073, allocations: 7.895 MB / 0.7549 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.085, allocations: 12.15 MB / 0.7668 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.085, allocations: 44 kB / 0.7668 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.02246/1.107, allocations: 13.2 MB / 0.7797 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/1.108, allocations: 75.98 kB / 0.7798 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/1.108, allocations: 152 kB / 0.78 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005781/1.114, allocations: 2.261 MB / 0.7822 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005935/1.12, allocations: 1.797 MB / 0.7839 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/1.135, allocations: 13.5 MB / 0.7971 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/1.141, allocations: 481 kB / 0.7976 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.142, allocations: 467.9 kB / 0.798 GB, free: 107.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (940): * Single equations (assignments): 935 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005144/1.147, allocations: 2.767 MB / 0.8007 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.149, allocations: 0.4974 MB / 0.8012 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.161, allocations: 7.123 MB / 0.8081 GB, free: 97.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/1.161, allocations: 28 kB / 0.8082 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.441e-05/1.161, allocations: 8 kB / 0.8082 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/1.161, allocations: 15.95 kB / 0.8082 GB, free: 97.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.185, allocations: 14.59 MB / 0.8224 GB, free: 82.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.185, allocations: 0 / 0.8224 GB, free: 82.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.188, allocations: 447.3 kB / 0.8229 GB, free: 82.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00476/1.192, allocations: 2.03 MB / 0.8249 GB, free: 80.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/1.193, allocations: 50.27 kB / 0.8249 GB, free: 80.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/1.207, allocations: 12.74 MB / 0.8373 GB, free: 67.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.207, allocations: 0 / 0.8373 GB, free: 67.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/1.222, allocations: 11.29 MB / 0.8484 GB, free: 55.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.224, allocations: 0.5842 MB / 0.8489 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.225, allocations: 38.5 kB / 0.849 GB, free: 55.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/1.228, allocations: 243.6 kB / 0.8492 GB, free: 54.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005996/1.229, allocations: 153.7 kB / 0.8494 GB, free: 54.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.229, allocations: 67.98 kB / 0.8494 GB, free: 54.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004842/1.234, allocations: 3.79 MB / 0.8531 GB, free: 50.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/1.234, allocations: 0 / 0.8531 GB, free: 50.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006427/1.24, allocations: 1.501 MB / 0.8546 GB, free: 49.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (202): * Single equations (assignments): 197 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000552/1.241, allocations: 173.5 kB / 0.8548 GB, free: 49.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.251, allocations: 8.403 MB / 0.863 GB, free: 40.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.251, allocations: 3.938 kB / 0.863 GB, free: 40.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004861/1.256, allocations: 3.483 MB / 0.8664 GB, free: 37.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/1.26, allocations: 0.6373 MB / 0.867 GB, free: 36.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.281, allocations: 17.18 MB / 0.8838 GB, free: 19.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003976/1.285, allocations: 4.226 MB / 0.8879 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/1.286, allocations: 391.4 kB / 0.8883 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of SimCode: time 1.051e-06/1.286, allocations: 4 kB / 0.8883 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of Templates: time 0.3715/1.658, allocations: 132.1 MB / 1.017 GB, free: 85.2 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches