Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 96.44 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3841/0.3841, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3704, allocations: 62.02 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.07052/0.441, allocations: 87.54 MB / 0.6006 GB, free: 1.797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04325/0.4843, allocations: 17.09 MB / 0.6173 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02053/0.5048, allocations: 375.1 kB / 0.6177 GB, free: 288 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008617/0.5135, allocations: 4.492 MB / 0.6221 GB, free: 11.78 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.5204, allocations: 2.149 MB / 0.6242 GB, free: 9.621 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.5235, allocations: 1.076 MB / 0.6252 GB, free: 8.543 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.536, allocations: 9.524 MB / 0.6345 GB, free: 15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.5464, allocations: 5.543 MB / 0.6399 GB, free: 9.402 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.5505, allocations: 2.048 MB / 0.6419 GB, free: 7.348 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00505/0.5556, allocations: 3.224 MB / 0.6451 GB, free: 4.113 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.5572, allocations: 372 kB / 0.6454 GB, free: 3.75 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.5609, allocations: 1.447 MB / 0.6469 GB, free: 2.301 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003383/0.5643, allocations: 2.7 MB / 0.6495 GB, free: 15.59 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005118/0.5694, allocations: 3.076 MB / 0.6525 GB, free: 12.5 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.5799, allocations: 9.754 MB / 0.662 GB, free: 2.715 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5799, allocations: 0 / 0.662 GB, free: 2.715 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5799, allocations: 0 / 0.662 GB, free: 2.715 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003091/0.5802, allocations: 0 / 0.662 GB, free: 2.715 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01645/0.5967, allocations: 6.951 MB / 0.6688 GB, free: 11.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.5968, allocations: 12.03 kB / 0.6688 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.6093, allocations: 2.68 MB / 0.6714 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.6198, allocations: 3.901 MB / 0.6752 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.6202, allocations: 341.3 kB / 0.6756 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.6222, allocations: 471.7 kB / 0.676 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2878/0.9099, allocations: 14.75 MB / 0.6904 GB, free: 127.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.9101, allocations: 54.52 kB / 0.6905 GB, free: 127.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004676/0.9106, allocations: 217.5 kB / 0.6907 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.9149, allocations: 2.781 MB / 0.6934 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02607/0.9409, allocations: 12.76 MB / 0.7059 GB, free: 123.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06528/1.006, allocations: 53.64 MB / 0.7582 GB, free: 77.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/1.02, allocations: 6.234 MB / 0.7643 GB, free: 71.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/1.023, allocations: 3.871 MB / 0.7681 GB, free: 67.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/1.04, allocations: 13.28 MB / 0.7811 GB, free: 53.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/1.04, allocations: 56.56 kB / 0.7811 GB, free: 53.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 5.129e-06/1.04, allocations: 4 kB / 0.7811 GB, free: 53.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=270): time 0.07186/1.112, allocations: 29.64 MB / 0.8101 GB, free: 24.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/1.112, allocations: 221.8 kB / 0.8103 GB, free: 23.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006295/1.119, allocations: 5.04 MB / 0.8152 GB, free: 18.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007201/1.119, allocations: 65.7 kB / 0.8153 GB, free: 18.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/1.121, allocations: 3.977 MB / 0.8192 GB, free: 14.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.123, allocations: 1.01 MB / 0.8201 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/1.124, allocations: 1.542 MB / 0.8216 GB, free: 12.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/1.125, allocations: 305.1 kB / 0.8219 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004003/1.129, allocations: 3.306 MB / 0.8252 GB, free: 8.465 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005762/1.134, allocations: 7.432 MB / 0.8324 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/1.149, allocations: 11.52 MB / 0.8437 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.149, allocations: 44 kB / 0.8437 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.02801/1.177, allocations: 12.6 MB / 0.856 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/1.177, allocations: 64 kB / 0.8561 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/1.177, allocations: 144 kB / 0.8562 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006143/1.184, allocations: 2.246 MB / 0.8584 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006752/1.19, allocations: 1.712 MB / 0.8601 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.209, allocations: 13.46 MB / 0.8732 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00724/1.217, allocations: 439.9 kB / 0.8736 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002072/1.219, allocations: 443.9 kB / 0.8741 GB, free: 2.062 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (900): * Single equations (assignments): 895 * 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.3018/1.521, allocations: 2.795 MB / 0.8768 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.522, allocations: 459.9 kB / 0.8772 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.534, allocations: 7.001 MB / 0.8841 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.027e-05/1.534, allocations: 28.31 kB / 0.8841 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/1.534, allocations: 10.44 kB / 0.8841 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.944e-05/1.534, allocations: 13.27 kB / 0.8841 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02484/1.559, allocations: 14.55 MB / 0.8983 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.559, allocations: 2.047 kB / 0.8983 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.561, allocations: 450.6 kB / 0.8988 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005624/1.567, allocations: 2.03 MB / 0.9008 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003134/1.567, allocations: 52.36 kB / 0.9008 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/1.584, allocations: 12.71 MB / 0.9132 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.584, allocations: 1.438 kB / 0.9132 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1161/1.7, allocations: 80.77 MB / 0.9921 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/1.701, allocations: 0.499 MB / 0.9926 GB, free: 77.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005943/1.701, allocations: 44 kB / 0.9926 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.703, allocations: 209.6 kB / 0.9928 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005695/1.704, allocations: 153.7 kB / 0.993 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.704, allocations: 71.98 kB / 0.993 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004012/1.708, allocations: 3.162 MB / 0.9961 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/1.708, allocations: 0 / 0.9961 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006445/1.715, allocations: 2.038 MB / 0.9981 GB, free: 71.79 MB / 0.5261 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 (212): * Single equations (assignments): 207 * 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.0004658/1.715, allocations: 181.9 kB / 0.9983 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008994/1.724, allocations: 8.067 MB / 1.006 GB, free: 63.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.724, allocations: 0.5625 kB / 1.006 GB, free: 63.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00501/1.729, allocations: 3.417 MB / 1.01 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/1.732, allocations: 0.6325 MB / 1.01 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/1.762, allocations: 19.53 MB / 1.029 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00719/1.769, allocations: 4.475 MB / 1.034 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007719/1.777, allocations: 2.403 MB / 1.036 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/1.779, allocations: 335.4 kB / 1.036 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/1.779, allocations: 0 / 1.036 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of Templates: time 0.358/2.137, allocations: 81.6 MB / 1.116 GB, free: 153.7 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches