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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001871, allocations: 196.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008579/0.0008579, allocations: 92.56 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1849/0.1849, allocations: 45.13 MB / 383.3 MB, free: 476 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.672e-06, allocations: 4 kB / 452.6 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09801, allocations: 63.24 MB / 0.5038 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4323, allocations: 107.1 MB / 0.6083 GB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4326, allocations: 74.53 kB / 0.6084 GB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5799/1.013, allocations: 156.2 MB / 0.761 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003836/1.013, allocations: 159 kB / 0.7611 GB, free: 100.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02026/1.033, allocations: 7.648 MB / 0.7686 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/1.033, allocations: 6.812 kB / 0.7686 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04202/1.075, allocations: 11.5 MB / 0.7799 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02178/1.097, allocations: 9.165 MB / 0.7888 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/1.098, allocations: 247 kB / 0.789 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/1.1, allocations: 471.8 kB / 0.7895 GB, free: 95.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01677/1.117, allocations: 10.52 MB / 0.7998 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/1.145, allocations: 15.83 MB / 0.8152 GB, free: 91.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003714/1.146, allocations: 104.7 kB / 0.8153 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001624/1.147, allocations: 47.41 kB / 0.8154 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001764/1.149, allocations: 1.694 MB / 0.817 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07812/1.227, allocations: 74.79 MB / 0.8901 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007086/1.234, allocations: 5.596 MB / 0.8955 GB, free: 39.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003958/1.238, allocations: 3.913 MB / 0.8994 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01875/1.257, allocations: 12.37 MB / 0.9114 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/1.257, allocations: 70.52 kB / 0.9115 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=225): time 1.394e-05/1.257, allocations: 0 / 0.9115 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=253): time 0.05375/1.311, allocations: 27.75 MB / 0.9386 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.311, allocations: 288.2 kB / 0.9389 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007331/1.318, allocations: 5.228 MB / 0.944 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/1.319, allocations: 25.7 kB / 0.944 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002643/1.321, allocations: 4.803 MB / 0.9487 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.322, allocations: 0.9597 MB / 0.9496 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/1.323, allocations: 0 / 0.9496 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004199/1.323, allocations: 0.6736 MB / 0.9503 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003647/1.327, allocations: 2.773 MB / 0.953 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1608/1.488, allocations: 8.108 MB / 0.9609 GB, free: 158.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005643/1.493, allocations: 4.726 MB / 0.9655 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.601e-05/1.493, allocations: 55.69 kB / 0.9656 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.01641/1.51, allocations: 10.41 MB / 0.9757 GB, free: 158.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.51, allocations: 7.344 kB / 0.9758 GB, free: 158.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002067/1.51, allocations: 190.8 kB / 0.9759 GB, free: 158.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/1.512, allocations: 1.033 MB / 0.9769 GB, free: 158.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006482/1.519, allocations: 1.975 MB / 0.9789 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009578/1.529, allocations: 10.61 MB / 0.9892 GB, free: 153.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006487/1.535, allocations: 261.4 kB / 0.9895 GB, free: 153.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.537, allocations: 0.5267 MB / 0.99 GB, free: 153.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1052): * Single equations (assignments): 1045 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002218/1.539, allocations: 0.5821 MB / 0.9906 GB, free: 152.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.54, allocations: 0.5459 MB / 0.9911 GB, free: 152.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/1.547, allocations: 4.397 MB / 0.9954 GB, free: 152.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/1.547, allocations: 21.19 kB / 0.9954 GB, free: 152.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/1.547, allocations: 11.81 kB / 0.9954 GB, free: 152.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.547, allocations: 14.08 kB / 0.9954 GB, free: 152.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.569, allocations: 10.72 MB / 1.006 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.569, allocations: 6.906 kB / 1.006 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/1.571, allocations: 385.2 kB / 1.006 GB, free: 152 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/1.573, allocations: 0.6905 MB / 1.007 GB, free: 152 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.573, allocations: 3.938 kB / 1.007 GB, free: 152 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00813/1.581, allocations: 9.512 MB / 1.016 GB, free: 147 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.581, allocations: 3.469 kB / 1.016 GB, free: 147 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0087/1.59, allocations: 7.723 MB / 1.024 GB, free: 146.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/1.591, allocations: 0.5539 MB / 1.024 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007263/1.592, allocations: 7.688 kB / 1.024 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/1.594, allocations: 81.53 kB / 1.024 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/1.594, allocations: 114.1 kB / 1.025 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.594, allocations: 68.45 kB / 1.025 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.005489/1.6, allocations: 3.571 MB / 1.028 GB, free: 145.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009468/1.609, allocations: 1.403 MB / 1.029 GB, free: 145.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (193): * Single equations (assignments): 186 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005622/1.61, allocations: 168 kB / 1.03 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009455/1.619, allocations: 7.013 MB / 1.036 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.619, allocations: 0 / 1.036 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/1.622, allocations: 2.425 MB / 1.039 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005095/1.628, allocations: 0.7316 MB / 1.04 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/1.656, allocations: 13.08 MB / 1.052 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01012/1.666, allocations: 5.959 MB / 1.058 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/1.666, allocations: 7.844 kB / 1.058 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.1006/1.767, allocations: 57.65 MB / 1.114 GB, free: 95.14 MB / 0.5417 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches