Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001604/0.001604, allocations: 187.8 kB / 8.155 MB, free: 2.199 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.676/1.676, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001239/0.001239, allocations: 83.97 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.035e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2394, allocations: 47.55 MB / 361.8 MB, free: 45.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.4044, allocations: 106.9 MB / 468.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4047, allocations: 90.02 kB / 468.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.225/1.63, allocations: 226.5 MB / 0.6791 GB, free: 34.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007163/1.631, allocations: 231.5 kB / 0.6793 GB, free: 34.69 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.07629/1.707, allocations: 12.18 MB / 0.6912 GB, free: 30.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.707, allocations: 7.719 kB / 0.6912 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04702/1.754, allocations: 3.471 MB / 0.6946 GB, free: 30 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06852/1.823, allocations: 12.17 MB / 0.7065 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001204/1.824, allocations: 386.5 kB / 0.7069 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009054/1.833, allocations: 0.7067 MB / 0.7076 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08162/1.915, allocations: 22.01 MB / 0.7291 GB, free: 28.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1068/2.021, allocations: 26.91 MB / 0.7553 GB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001058/2.023, allocations: 102.9 kB / 0.7554 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008729/2.031, allocations: 48 kB / 0.7555 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007871/2.039, allocations: 2.727 MB / 0.7581 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4552/2.495, allocations: 119.4 MB / 0.8748 GB, free: 40.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02172/2.516, allocations: 10.3 MB / 0.8848 GB, free: 39.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01946/2.536, allocations: 9.148 MB / 0.8937 GB, free: 39.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08622/2.622, allocations: 32.72 MB / 0.9257 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/2.622, allocations: 85.06 kB / 0.9258 GB, free: 27.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=483): time 9.718e-06/2.622, allocations: 0 / 0.9258 GB, free: 27.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=708): time 0.7679/3.39, allocations: 109.2 MB / 1.032 GB, free: 89.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/3.39, allocations: 201.6 kB / 1.033 GB, free: 89.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/3.407, allocations: 6.205 MB / 1.039 GB, free: 88.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002555/3.41, allocations: 25.7 kB / 1.039 GB, free: 88.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005051/3.415, allocations: 6.474 MB / 1.045 GB, free: 84.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005161/3.42, allocations: 2.427 MB / 1.047 GB, free: 83.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00326/3.423, allocations: 0 / 1.047 GB, free: 83.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001393/3.425, allocations: 0.9188 MB / 1.048 GB, free: 82.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02614/3.451, allocations: 9.97 MB / 1.058 GB, free: 82.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03257/3.484, allocations: 16.82 MB / 1.074 GB, free: 73.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03243/3.516, allocations: 12.99 MB / 1.087 GB, free: 68.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000285/3.517, allocations: 68.03 kB / 1.087 GB, free: 68.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=1890) (initialization): time 0.07712/3.594, allocations: 26.04 MB / 1.113 GB, free: 59.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/3.594, allocations: 6.312 kB / 1.113 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004051/3.594, allocations: 237.7 kB / 1.113 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/3.595, allocations: 364 kB / 1.113 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03885/3.633, allocations: 3.946 MB / 1.117 GB, free: 58.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005095/3.634, allocations: 484.3 kB / 1.118 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02019/3.654, allocations: 0.6592 MB / 1.118 GB, free: 58.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004797/3.659, allocations: 0.7678 MB / 1.119 GB, free: 57.88 MB / 442.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.007266/3.666, allocations: 0.6939 MB / 1.12 GB, free: 57.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003408/3.67, allocations: 0.7521 MB / 1.12 GB, free: 56.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05446/3.724, allocations: 19.17 MB / 1.139 GB, free: 39.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001344/3.725, allocations: 68 kB / 1.139 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/3.725, allocations: 0 / 1.139 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001668/3.725, allocations: 38.12 kB / 1.139 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2891/4.014, allocations: 39.8 MB / 1.178 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.58e-05/4.014, allocations: 0 / 1.178 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02643/4.04, allocations: 1.765 MB / 1.18 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/4.041, allocations: 20.19 kB / 1.18 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002112/4.043, allocations: 17.95 kB / 1.18 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.557e-05/4.043, allocations: 28.91 kB / 1.18 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/4.043, allocations: 4.5 kB / 1.18 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07617/4.119, allocations: 33.07 MB / 1.212 GB, free: 76.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01082/4.13, allocations: 2.633 MB / 1.215 GB, free: 75.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004884/4.135, allocations: 0 / 1.215 GB, free: 75.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01522/4.15, allocations: 420.9 kB / 1.215 GB, free: 75.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003186/4.153, allocations: 323 kB / 1.215 GB, free: 75.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00141/4.155, allocations: 166.7 kB / 1.216 GB, free: 75.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.01124/4.166, allocations: 4.153 MB / 1.22 GB, free: 73.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02189/4.188, allocations: 2.758 MB / 1.222 GB, free: 73.77 MB / 442.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.003763/4.192, allocations: 298.3 kB / 1.223 GB, free: 73.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.05724/4.249, allocations: 22.65 MB / 1.245 GB, free: 64.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/4.249, allocations: 6.125 kB / 1.245 GB, free: 64.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0261/4.275, allocations: 9.775 MB / 1.254 GB, free: 56.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007898/4.283, allocations: 0.6184 MB / 1.255 GB, free: 55.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/4.39, allocations: 30.19 MB / 1.284 GB, free: 28.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2214/4.611, allocations: 8.989 MB / 1.293 GB, free: 77.88 MB / 442.7 MB Notification: Performance of SimCode: time 3.777e-06/4.611, allocations: 0 / 1.293 GB, free: 77.88 MB / 442.7 MB Notification: Performance of Templates: time 0.5432/5.155, allocations: 179.8 MB / 1.469 GB, free: 51.14 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches