Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [: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.001519/0.00152, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 92.23 kB / 286.3 MB, free: 5.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1855/0.1855, allocations: 45.15 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.235e-06/8.075e-06, allocations: 4 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/0.4362, allocations: 108.3 MB / 0.6096 GB, free: 10.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4365, allocations: 70.41 kB / 0.6096 GB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.27/0.7065, allocations: 107.1 MB / 0.7142 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002974/0.7068, allocations: 108 kB / 0.7143 GB, free: 7.809 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01562/0.7225, allocations: 5.152 MB / 0.7193 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7225, allocations: 8.031 kB / 0.7193 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/0.7492, allocations: 6.501 MB / 0.7257 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/0.7651, allocations: 5.792 MB / 0.7313 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.7654, allocations: 168 kB / 0.7315 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.7667, allocations: 307.9 kB / 0.7318 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01107/0.7778, allocations: 7.021 MB / 0.7387 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.795, allocations: 11.1 MB / 0.7495 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/0.7952, allocations: 83.19 kB / 0.7496 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005994/0.7958, allocations: 36 kB / 0.7496 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/0.7973, allocations: 1.21 MB / 0.7508 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2499/1.047, allocations: 55.6 MB / 0.8051 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/1.051, allocations: 3.379 MB / 0.8084 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/1.053, allocations: 2.084 MB / 0.8104 GB, free: 65.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009073/1.062, allocations: 6.203 MB / 0.8165 GB, free: 64.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.062, allocations: 50.48 kB / 0.8165 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=141): time 4.479e-06/1.062, allocations: 0 / 0.8165 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=155): time 0.02798/1.09, allocations: 15.36 MB / 0.8315 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/1.09, allocations: 222.8 kB / 0.8317 GB, free: 59.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005742/1.096, allocations: 4.005 MB / 0.8357 GB, free: 59.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/1.096, allocations: 25.7 kB / 0.8357 GB, free: 59.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.098, allocations: 3.564 MB / 0.8392 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006593/1.098, allocations: 0.6209 MB / 0.8398 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.099, allocations: 0 / 0.8398 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002705/1.099, allocations: 0.5955 MB / 0.8403 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.101, allocations: 1.918 MB / 0.8422 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004169/1.105, allocations: 6.308 MB / 0.8484 GB, free: 48.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00467/1.11, allocations: 3.502 MB / 0.8518 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.538e-05/1.11, allocations: 45.03 kB / 0.8518 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.01095/1.121, allocations: 7.521 MB / 0.8592 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.121, allocations: 9.156 kB / 0.8592 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/1.121, allocations: 157.6 kB / 0.8593 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/1.123, allocations: 0.601 MB / 0.8599 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005123/1.128, allocations: 1.526 MB / 0.8614 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/1.134, allocations: 5.418 MB / 0.8667 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006232/1.14, allocations: 202.5 kB / 0.8669 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002035/1.142, allocations: 434.1 kB / 0.8673 GB, free: 41.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (835): * Single equations (assignments): 830 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001456/1.143, allocations: 0.4895 MB / 0.8678 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.145, allocations: 400.9 kB / 0.8682 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/1.149, allocations: 2.293 MB / 0.8704 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.616e-05/1.149, allocations: 13.97 kB / 0.8704 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.149, allocations: 5.5 kB / 0.8704 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.149, allocations: 7.953 kB / 0.8704 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/1.163, allocations: 6.122 MB / 0.8764 GB, free: 37.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.163, allocations: 1.281 kB / 0.8764 GB, free: 37.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.164, allocations: 206.9 kB / 0.8766 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/1.165, allocations: 358.1 kB / 0.877 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/1.165, allocations: 3.781 kB / 0.877 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/1.17, allocations: 4.763 MB / 0.8816 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.17, allocations: 1.438 kB / 0.8816 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005971/1.176, allocations: 4.617 MB / 0.8861 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.177, allocations: 437.1 kB / 0.8865 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004753/1.178, allocations: 7.938 kB / 0.8866 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.179, allocations: 30.36 kB / 0.8866 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.179, allocations: 66.25 kB / 0.8866 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.179, allocations: 43.89 kB / 0.8867 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00384/1.183, allocations: 2.714 MB / 0.8893 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005838/1.189, allocations: 0.9466 MB / 0.8903 GB, free: 27.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 108 * 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 {(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.0004276/1.189, allocations: 144.6 kB / 0.8904 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006544/1.196, allocations: 4.725 MB / 0.895 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.196, allocations: 0 / 0.895 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.197, allocations: 1.338 MB / 0.8963 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/1.2, allocations: 486.8 kB / 0.8968 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.216, allocations: 8.626 MB / 0.9052 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004574/1.22, allocations: 4.258 MB / 0.9094 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of SimCode: time 1.233e-06/1.22, allocations: 4.781 kB / 0.9094 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of Templates: time 0.07295/1.293, allocations: 37.35 MB / 0.9458 GB, free: 14.49 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches