Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2") [: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.00116/0.00116, allocations: 200.6 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008369/0.0008369, allocations: 93.78 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.165/0.165, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.531e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08149/0.08151, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2867/0.3683, allocations: 112.4 MB / 0.6136 GB, free: 6.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3686, allocations: 74.62 kB / 0.6137 GB, free: 6.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7033/1.072, allocations: 220.7 MB / 0.8292 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001022/1.073, allocations: 230.9 kB / 0.8294 GB, free: 74.78 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.0339/1.107, allocations: 11.67 MB / 0.8408 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.107, allocations: 11.06 kB / 0.8408 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04739/1.154, allocations: 12.18 MB / 0.8527 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03191/1.186, allocations: 11.41 MB / 0.8638 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007522/1.187, allocations: 379.8 kB / 0.8642 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005107/1.192, allocations: 0.6857 MB / 0.8649 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03057/1.223, allocations: 16.42 MB / 0.8809 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04963/1.272, allocations: 24.36 MB / 0.9047 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006015/1.273, allocations: 146.7 kB / 0.9048 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003718/1.277, allocations: 63.91 kB / 0.9049 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/1.28, allocations: 2.731 MB / 0.9076 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3162/1.596, allocations: 116.9 MB / 1.022 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.607, allocations: 10.57 MB / 1.032 GB, free: 108 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007683/1.615, allocations: 7.493 MB / 1.039 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03017/1.645, allocations: 20.07 MB / 1.059 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/1.645, allocations: 88.62 kB / 1.059 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=427): time 7.715e-06/1.645, allocations: 0 / 1.059 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=511): time 0.1092/1.755, allocations: 53.36 MB / 1.111 GB, free: 83.47 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.755, allocations: 369.6 kB / 1.111 GB, free: 83.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/1.766, allocations: 7.65 MB / 1.119 GB, free: 76.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001329/1.768, allocations: 25.7 kB / 1.119 GB, free: 76.42 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003718/1.771, allocations: 7.105 MB / 1.126 GB, free: 70.08 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002689/1.774, allocations: 1.861 MB / 1.128 GB, free: 68.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008099/1.775, allocations: 6.312 kB / 1.128 GB, free: 68.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005433/1.775, allocations: 0.8955 MB / 1.129 GB, free: 67.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009301/1.785, allocations: 5.697 MB / 1.134 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/1.797, allocations: 13.54 MB / 1.147 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.81, allocations: 8.704 MB / 1.156 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002344/1.81, allocations: 80 kB / 1.156 GB, free: 39.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1828) (initialization): time 0.03957/1.85, allocations: 20.19 MB / 1.176 GB, free: 22.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.85, allocations: 12.06 kB / 1.176 GB, free: 22.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003463/1.85, allocations: 276 kB / 1.176 GB, free: 22.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008066/1.858, allocations: 3.088 MB / 1.179 GB, free: 19.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/1.871, allocations: 3.297 MB / 1.182 GB, free: 16.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2117/2.083, allocations: 20.33 MB / 1.202 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.094, allocations: 463.5 kB / 1.203 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00285/2.097, allocations: 0.8183 MB / 1.203 GB, free: 150.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1270 * Number of states: 0 () * Number of discrete variables: 132 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1710): * Single equations (assignments): 1703 * 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 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003043/2.1, allocations: 0.8256 MB / 1.204 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/2.102, allocations: 0.8318 MB / 1.205 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/2.122, allocations: 11.81 MB / 1.216 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001168/2.122, allocations: 48.25 kB / 1.217 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/2.122, allocations: 17.25 kB / 1.217 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/2.122, allocations: 28.39 kB / 1.217 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04695/2.169, allocations: 24.34 MB / 1.24 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.332e-05/2.169, allocations: 2.75 kB / 1.24 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005484/2.175, allocations: 0.8903 MB / 1.241 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007203/2.182, allocations: 2.613 MB / 1.244 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001378/2.183, allocations: 19.33 kB / 1.244 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02323/2.207, allocations: 19.14 MB / 1.262 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.207, allocations: 3.969 kB / 1.262 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02684/2.233, allocations: 19 MB / 1.281 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002668/2.236, allocations: 0.8082 MB / 1.282 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003988/2.24, allocations: 7 kB / 1.282 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006743/2.247, allocations: 179.4 kB / 1.282 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/2.249, allocations: 241.1 kB / 1.282 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005343/2.249, allocations: 123.8 kB / 1.282 GB, free: 137.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.008985/2.258, allocations: 5.19 MB / 1.287 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01562/2.274, allocations: 2.374 MB / 1.29 GB, free: 135.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 414 * 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 {(4,75.0%) 17,(4,75.0%) 17,(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.00221/2.276, allocations: 181.2 kB / 1.29 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02229/2.298, allocations: 14.16 MB / 1.304 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.298, allocations: 0 / 1.304 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009975/2.308, allocations: 5.77 MB / 1.309 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007517/2.316, allocations: 0.961 MB / 1.31 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05674/2.373, allocations: 22.55 MB / 1.332 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02053/2.393, allocations: 8.766 MB / 1.341 GB, free: 98.36 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/2.393, allocations: 0 / 1.341 GB, free: 98.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.4388/2.832, allocations: 107 MB / 1.445 GB, free: 141 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches