Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") [: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.001625/0.001625, allocations: 176.1 kB / 8.476 MB, free: 1.883 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.449/1.449, allocations: 205.2 MB / 214.1 MB, free: 5.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 87.27 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.404e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.09883, allocations: 47.57 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4619, allocations: 106.9 MB / 469.5 MB, free: 2.316 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4622, allocations: 86.95 kB / 469.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.7622/1.224, allocations: 226.5 MB / 0.6798 GB, free: 15.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001582/1.226, allocations: 230.2 kB / 0.68 GB, free: 15.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.05091/1.277, allocations: 12.18 MB / 0.6919 GB, free: 6.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.277, allocations: 12.03 kB / 0.6919 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/1.3, allocations: 3.468 MB / 0.6953 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03512/1.335, allocations: 12.17 MB / 0.7072 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008771/1.336, allocations: 387.9 kB / 0.7076 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00736/1.343, allocations: 0.695 MB / 0.7082 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2601/1.603, allocations: 22.01 MB / 0.7297 GB, free: 95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06198/1.665, allocations: 26.91 MB / 0.756 GB, free: 90.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005688/1.666, allocations: 100.7 kB / 0.7561 GB, free: 90.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004549/1.67, allocations: 50.69 kB / 0.7562 GB, free: 90.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003214/1.674, allocations: 2.725 MB / 0.7588 GB, free: 90.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1566/1.83, allocations: 119.4 MB / 0.8754 GB, free: 39.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/1.845, allocations: 10.3 MB / 0.8855 GB, free: 34.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01161/1.856, allocations: 9.145 MB / 0.8944 GB, free: 29.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05294/1.909, allocations: 32.72 MB / 0.9263 GB, free: 3.352 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.056e-05/1.909, allocations: 93.62 kB / 0.9264 GB, free: 3.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=483): time 9.157e-06/1.909, allocations: 0 / 0.9264 GB, free: 3.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=708): time 0.502/2.411, allocations: 108.7 MB / 1.033 GB, free: 100.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/2.412, allocations: 201.1 kB / 1.033 GB, free: 100.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/2.423, allocations: 6.204 MB / 1.039 GB, free: 95.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002804/2.426, allocations: 29.7 kB / 1.039 GB, free: 95.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004346/2.43, allocations: 6.65 MB / 1.045 GB, free: 89.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004137/2.435, allocations: 2.433 MB / 1.048 GB, free: 87.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/2.437, allocations: 0 / 1.048 GB, free: 87.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007161/2.437, allocations: 0.9154 MB / 1.049 GB, free: 86.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01383/2.451, allocations: 9.96 MB / 1.058 GB, free: 77.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01839/2.47, allocations: 16.82 MB / 1.075 GB, free: 58.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2062/2.676, allocations: 13.01 MB / 1.087 GB, free: 101.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/2.676, allocations: 70.53 kB / 1.088 GB, free: 101.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=1890) (initialization): time 0.04714/2.723, allocations: 26.24 MB / 1.113 GB, free: 101 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/2.723, allocations: 2.812 kB / 1.113 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006226/2.724, allocations: 238.2 kB / 1.113 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/2.725, allocations: 368.2 kB / 1.114 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02338/2.748, allocations: 3.944 MB / 1.118 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005178/2.748, allocations: 483.8 kB / 1.118 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01825/2.767, allocations: 0.6968 MB / 1.119 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005023/2.772, allocations: 0.7687 MB / 1.119 GB, free: 100.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1089 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1860): * Single equations (assignments): 1854 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004074/2.776, allocations: 0.7675 MB / 1.12 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/2.778, allocations: 0.7466 MB / 1.121 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0266/2.805, allocations: 19.17 MB / 1.14 GB, free: 99.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/2.805, allocations: 76.03 kB / 1.14 GB, free: 99.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/2.805, allocations: 0 / 1.14 GB, free: 99.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.955e-05/2.805, allocations: 34.27 kB / 1.14 GB, free: 99.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06535/2.87, allocations: 39.21 MB / 1.178 GB, free: 84.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/2.87, allocations: 0 / 1.178 GB, free: 84.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01336/2.884, allocations: 1.77 MB / 1.18 GB, free: 84.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/2.884, allocations: 25.41 kB / 1.18 GB, free: 84.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001463/2.885, allocations: 19.91 kB / 1.18 GB, free: 84.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.908e-05/2.885, allocations: 26.94 kB / 1.18 GB, free: 84.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.885, allocations: 2.406 kB / 1.18 GB, free: 84.84 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03927/2.925, allocations: 33.06 MB / 1.212 GB, free: 59.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007067/2.932, allocations: 2.633 MB / 1.215 GB, free: 57.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003518/2.935, allocations: 7.906 kB / 1.215 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0082/2.943, allocations: 409.7 kB / 1.215 GB, free: 57.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001449/2.945, allocations: 323.7 kB / 1.215 GB, free: 56.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008184/2.946, allocations: 171.1 kB / 1.216 GB, free: 56.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.007545/2.953, allocations: 4.155 MB / 1.22 GB, free: 53.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01766/2.971, allocations: 2.746 MB / 1.222 GB, free: 50.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (692): * Single equations (assignments): 689 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002775/2.974, allocations: 298.9 kB / 1.223 GB, free: 50.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2177/3.192, allocations: 22.67 MB / 1.245 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/3.192, allocations: 0.9688 kB / 1.245 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01404/3.206, allocations: 9.778 MB / 1.254 GB, free: 101.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005846/3.212, allocations: 0.6151 MB / 1.255 GB, free: 101.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06393/3.275, allocations: 28.8 MB / 1.283 GB, free: 97.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02139/3.297, allocations: 8.998 MB / 1.292 GB, free: 96.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/3.297, allocations: 0 / 1.292 GB, free: 96.88 MB / 458.7 MB Notification: Performance of Templates: time 0.4129/3.71, allocations: 153.7 MB / 1.442 GB, free: 98.35 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches