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.0009949/0.0009947, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007926/0.0007926, allocations: 92.48 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 45.16 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.38e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5295, allocations: 107.7 MB / 0.6095 GB, free: 11.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.5297, allocations: 79.84 kB / 0.6096 GB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2848/0.8145, allocations: 119.7 MB / 0.7264 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8146, allocations: 7.938 kB / 0.7264 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003614/0.815, allocations: 112 kB / 0.7265 GB, free: 11.39 MB / 0.5105 GB 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.01812/0.8331, allocations: 5.957 MB / 0.7324 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.8332, allocations: 8.031 kB / 0.7324 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0274/0.8606, allocations: 6.973 MB / 0.7392 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/0.8771, allocations: 6.008 MB / 0.745 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.8775, allocations: 196 kB / 0.7452 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003117/0.8806, allocations: 359.8 kB / 0.7456 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3096/1.19, allocations: 8.53 MB / 0.7539 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02685/1.217, allocations: 12.74 MB / 0.7663 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/1.217, allocations: 77.08 kB / 0.7664 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009059/1.218, allocations: 33.91 kB / 0.7665 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/1.22, allocations: 1.372 MB / 0.7678 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05431/1.275, allocations: 59.08 MB / 0.8255 GB, free: 80.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/1.279, allocations: 5.083 MB / 0.8304 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003113/1.282, allocations: 3.471 MB / 0.8338 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004433/1.283, allocations: 0.5493 MB / 0.8344 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.283, allocations: 51.44 kB / 0.8344 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=237): time 5.24e-06/1.283, allocations: 5.938 kB / 0.8344 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=281): time 0.04577/1.329, allocations: 25.65 MB / 0.8595 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/1.329, allocations: 211.3 kB / 0.8597 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/1.333, allocations: 3.642 MB / 0.8632 GB, free: 65.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005012/1.334, allocations: 28.67 kB / 0.8633 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001724/1.336, allocations: 4.065 MB / 0.8672 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009163/1.337, allocations: 1.017 MB / 0.8682 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/1.337, allocations: 3.156 kB / 0.8682 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000278/1.337, allocations: 0.6227 MB / 0.8688 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/1.34, allocations: 2.908 MB / 0.8717 GB, free: 60 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004541/1.345, allocations: 7.112 MB / 0.8786 GB, free: 53.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005067/1.35, allocations: 4.496 MB / 0.883 GB, free: 51.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/1.35, allocations: 45.62 kB / 0.8831 GB, free: 51.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=971) (initialization): time 0.01677/1.367, allocations: 10.61 MB / 0.8934 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/1.367, allocations: 68 kB / 0.8935 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/1.367, allocations: 148 kB / 0.8936 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/1.371, allocations: 1.693 MB / 0.8953 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005852/1.377, allocations: 1.723 MB / 0.897 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.389, allocations: 10.87 MB / 0.9076 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/1.396, allocations: 294.8 kB / 0.9079 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/1.397, allocations: 446.5 kB / 0.9083 GB, free: 29.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (899): * Single equations (assignments): 894 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001282/1.399, allocations: 0.5002 MB / 0.9088 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007866/1.399, allocations: 415.3 kB / 0.9092 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/1.408, allocations: 5.894 MB / 0.9149 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.408, allocations: 28 kB / 0.915 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.408, allocations: 8 kB / 0.915 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/1.408, allocations: 14.53 kB / 0.915 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.427, allocations: 12.64 MB / 0.9273 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.427, allocations: 3.953 kB / 0.9273 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/1.429, allocations: 480.5 kB / 0.9278 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.433, allocations: 1.394 MB / 0.9291 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.433, allocations: 7.938 kB / 0.9291 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009822/1.443, allocations: 9.832 MB / 0.9387 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.443, allocations: 3.938 kB / 0.9387 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/1.46, allocations: 10.09 MB / 0.9486 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.462, allocations: 447.5 kB / 0.949 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007097/1.462, allocations: 12 kB / 0.949 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.464, allocations: 159.7 kB / 0.9492 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/1.465, allocations: 165.7 kB / 0.9494 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/1.465, allocations: 75.03 kB / 0.9494 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004516/1.47, allocations: 2.439 MB / 0.9518 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.71e-07/1.47, allocations: 0 / 0.9518 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007818/1.477, allocations: 1.24 MB / 0.953 GB, free: 6.258 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 218 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006132/1.478, allocations: 160.8 kB / 0.9532 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.2753/1.753, allocations: 7.442 MB / 0.9604 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.753, allocations: 0 / 0.9604 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004377/1.758, allocations: 3.003 MB / 0.9634 GB, free: 119 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.761, allocations: 499.9 kB / 0.9639 GB, free: 119 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/1.782, allocations: 11.28 MB / 0.9749 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006738/1.788, allocations: 4.494 MB / 0.9793 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005789/1.794, allocations: 2.414 MB / 0.9816 GB, free: 116 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/1.795, allocations: 307.2 kB / 0.9819 GB, free: 116 MB / 0.5417 GB Notification: Performance of SimCode: time 2.274e-06/1.795, allocations: 3.969 kB / 0.9819 GB, free: 116 MB / 0.5417 GB Notification: Performance of Templates: time 0.0733/1.869, allocations: 47.88 MB / 1.029 GB, free: 113.9 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/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