Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009712/0.0009713, allocations: 187.9 kB / 7.802 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000763/0.0007629, allocations: 85.22 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1489/0.1489, allocations: 43.49 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.22e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1949, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.3093, allocations: 110.8 MB / 0.5736 GB, free: 4.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.3095, allocations: 79.95 kB / 0.5736 GB, free: 4.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.613/0.9225, allocations: 230.2 MB / 0.7985 GB, free: 6.965 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005352/0.9231, allocations: 255.9 kB / 0.7987 GB, free: 6.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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.03151/0.9546, allocations: 12.18 MB / 0.8106 GB, free: 10.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.9547, allocations: 8.031 kB / 0.8106 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.189/1.144, allocations: 12.35 MB / 0.8227 GB, free: 90.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/1.171, allocations: 13.37 MB / 0.8358 GB, free: 89.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005546/1.171, allocations: 411.7 kB / 0.8362 GB, free: 89.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004354/1.176, allocations: 0.7398 MB / 0.8369 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03225/1.208, allocations: 18 MB / 0.8545 GB, free: 89.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04587/1.254, allocations: 26.34 MB / 0.8802 GB, free: 83.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003876/1.254, allocations: 147.5 kB / 0.8803 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/1.256, allocations: 69.12 kB / 0.8804 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003078/1.259, allocations: 3.039 MB / 0.8833 GB, free: 83.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2658/1.525, allocations: 123.5 MB / 1.004 GB, free: 44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.535, allocations: 11.62 MB / 1.015 GB, free: 42.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007507/1.543, allocations: 8.326 MB / 1.023 GB, free: 42.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02855/1.572, allocations: 22.71 MB / 1.046 GB, free: 39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/1.572, allocations: 92.78 kB / 1.046 GB, free: 38.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=514): time 7.485e-06/1.572, allocations: 0 / 1.046 GB, free: 38.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=598): time 0.1067/1.678, allocations: 57.47 MB / 1.102 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.679, allocations: 373.8 kB / 1.102 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.69, allocations: 8.214 MB / 1.11 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001308/1.692, allocations: 28.33 kB / 1.11 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003483/1.695, allocations: 7.732 MB / 1.118 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002761/1.698, allocations: 2.152 MB / 1.12 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/1.699, allocations: 0 / 1.12 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006305/1.7, allocations: 0.9684 MB / 1.121 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009044/1.709, allocations: 6.572 MB / 1.127 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02782/1.737, allocations: 16.21 MB / 1.143 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/1.751, allocations: 9.88 MB / 1.153 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002872/1.752, allocations: 84 kB / 1.153 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2040) (initialization): time 0.0439/1.795, allocations: 22.65 MB / 1.175 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.796, allocations: 4 kB / 1.175 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005943/1.796, allocations: 300 kB / 1.175 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007796/1.804, allocations: 3.125 MB / 1.178 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/1.819, allocations: 3.702 MB / 1.182 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1935/2.012, allocations: 20.38 MB / 1.202 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01261/2.025, allocations: 0.5152 MB / 1.202 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002635/2.027, allocations: 0.8995 MB / 1.203 GB, free: 125.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * Number of states: 0 () * Number of discrete variables: 120 (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.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],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.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],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 (1922): * Single equations (assignments): 1915 * 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.002303/2.03, allocations: 0.8792 MB / 1.204 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/2.032, allocations: 0.8932 MB / 1.205 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/2.052, allocations: 13.47 MB / 1.218 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.692e-05/2.052, allocations: 62.12 kB / 1.218 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/2.052, allocations: 16.34 kB / 1.218 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.292e-05/2.052, allocations: 37.44 kB / 1.218 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04709/2.099, allocations: 27.36 MB / 1.245 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/2.099, allocations: 5.562 kB / 1.245 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005492/2.104, allocations: 1.061 MB / 1.246 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006542/2.111, allocations: 2.617 MB / 1.248 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007471/2.112, allocations: 15.05 kB / 1.248 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/2.134, allocations: 19.14 MB / 1.267 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/2.134, allocations: 6.75 kB / 1.267 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03165/2.165, allocations: 21.72 MB / 1.288 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006221/2.172, allocations: 1.884 MB / 1.29 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00387/2.175, allocations: 10.41 kB / 1.29 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007666/2.183, allocations: 223.4 kB / 1.29 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001655/2.185, allocations: 278 kB / 1.291 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001212/2.186, allocations: 147.4 kB / 1.291 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.01165/2.198, allocations: 5.576 MB / 1.296 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01771/2.215, allocations: 2.618 MB / 1.299 GB, free: 106.8 MB / 0.5417 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 (511): * Single equations (assignments): 504 * 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.001766/2.217, allocations: 189.2 kB / 1.299 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02374/2.241, allocations: 16.16 MB / 1.315 GB, free: 98.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.241, allocations: 0 / 1.315 GB, free: 98.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/2.251, allocations: 6.592 MB / 1.321 GB, free: 92.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006881/2.258, allocations: 0.9312 MB / 1.322 GB, free: 91.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04734/2.306, allocations: 24.9 MB / 1.346 GB, free: 70.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01617/2.322, allocations: 9.478 MB / 1.356 GB, free: 63.13 MB / 0.5417 GB Notification: Performance of SimCode: time 1.032e-06/2.322, allocations: 4 kB / 1.356 GB, free: 63.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.3737/2.695, allocations: 119.7 MB / 1.473 GB, free: 109.9 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches