Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [: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.001114/0.001115, allocations: 196.4 kB / 8.54 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.308/1.308, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.0009999, allocations: 99.58 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.612e-06/6.652e-06, allocations: 0 / 343.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 51.48 MB / 394.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.4284, allocations: 103.8 MB / 498.4 MB, free: 5.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4287, allocations: 86.77 kB / 498.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5822/1.011, allocations: 141.9 MB / 0.6254 GB, free: 72.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004523/1.011, allocations: 148.8 kB / 0.6256 GB, free: 72.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02396/1.035, allocations: 7.452 MB / 0.6328 GB, free: 69.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.035, allocations: 7.531 kB / 0.6328 GB, free: 69.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04534/1.081, allocations: 11.3 MB / 0.6439 GB, free: 67.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02546/1.106, allocations: 9.064 MB / 0.6527 GB, free: 64.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005552/1.107, allocations: 230.8 kB / 0.6529 GB, free: 64.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004004/1.111, allocations: 427.9 kB / 0.6534 GB, free: 64.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02146/1.132, allocations: 10.24 MB / 0.6634 GB, free: 61.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/1.169, allocations: 14.98 MB / 0.678 GB, free: 53.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004984/1.17, allocations: 101 kB / 0.6781 GB, free: 53.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/1.172, allocations: 35.78 kB / 0.6781 GB, free: 53.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/1.175, allocations: 1.578 MB / 0.6797 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2996/1.474, allocations: 73.7 MB / 0.7516 GB, free: 122.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006713/1.481, allocations: 6.075 MB / 0.7576 GB, free: 122.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/1.486, allocations: 5.045 MB / 0.7625 GB, free: 122.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02083/1.507, allocations: 14.59 MB / 0.7767 GB, free: 119.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.507, allocations: 61.09 kB / 0.7768 GB, free: 119.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=275): time 5.981e-06/1.507, allocations: 0 / 0.7768 GB, free: 119.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=368): time 0.1107/1.618, allocations: 44.04 MB / 0.8198 GB, free: 106.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.618, allocations: 374.9 kB / 0.8202 GB, free: 106.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/1.626, allocations: 4.91 MB / 0.825 GB, free: 104.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.628, allocations: 28.83 kB / 0.825 GB, free: 104.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00266/1.63, allocations: 4.35 MB / 0.8292 GB, free: 101.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002152/1.632, allocations: 1.312 MB / 0.8305 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007446/1.633, allocations: 2 kB / 0.8305 GB, free: 100.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004467/1.634, allocations: 0.6888 MB / 0.8312 GB, free: 99.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006787/1.64, allocations: 5.409 MB / 0.8365 GB, free: 97.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.651, allocations: 10.47 MB / 0.8467 GB, free: 89.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0097/1.661, allocations: 7.432 MB / 0.8539 GB, free: 86.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/1.661, allocations: 51.38 kB / 0.854 GB, free: 86.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04112/1.702, allocations: 19.84 MB / 0.8734 GB, free: 71.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.702, allocations: 8.219 kB / 0.8734 GB, free: 71.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/1.702, allocations: 182.5 kB / 0.8736 GB, free: 71.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01968/1.722, allocations: 5.95 MB / 0.8794 GB, free: 67.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008473/1.73, allocations: 2.02 MB / 0.8813 GB, free: 65.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03591/1.766, allocations: 28.91 MB / 0.9096 GB, free: 40.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/1.776, allocations: 397.3 kB / 0.9099 GB, free: 40.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002279/1.778, allocations: 0.5275 MB / 0.9105 GB, free: 39.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 811 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1040 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 68,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.002072/1.78, allocations: 0.5442 MB / 0.911 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/1.782, allocations: 0.5586 MB / 0.9115 GB, free: 38.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02828/1.81, allocations: 14.71 MB / 0.9259 GB, free: 26.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000159/1.81, allocations: 47.23 kB / 0.926 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/1.81, allocations: 23.94 kB / 0.926 GB, free: 26.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.921e-05/1.81, allocations: 20.92 kB / 0.926 GB, free: 26.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.256/2.066, allocations: 28.47 MB / 0.9538 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/2.067, allocations: 0 / 0.9538 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/2.07, allocations: 0.4985 MB / 0.9543 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01821/2.088, allocations: 5.621 MB / 0.9598 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000902/2.089, allocations: 9.109 kB / 0.9598 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03423/2.123, allocations: 27.49 MB / 0.9866 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/2.123, allocations: 0 / 0.9866 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03698/2.16, allocations: 22.28 MB / 1.008 GB, free: 92.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/2.162, allocations: 0.5603 MB / 1.009 GB, free: 92.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001966/2.164, allocations: 3.719 kB / 1.009 GB, free: 92.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004218/2.168, allocations: 218.2 kB / 1.009 GB, free: 92.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007716/2.169, allocations: 157.9 kB / 1.009 GB, free: 92.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/2.17, allocations: 93.98 kB / 1.009 GB, free: 92.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.005585/2.175, allocations: 3.381 MB / 1.013 GB, free: 91.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01004/2.185, allocations: 1.888 MB / 1.015 GB, free: 91.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 230 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/2.187, allocations: 237.3 kB / 1.015 GB, free: 91.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01891/2.205, allocations: 13.21 MB / 1.028 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.206, allocations: 3.281 kB / 1.028 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009195/2.215, allocations: 5.91 MB / 1.033 GB, free: 83.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/2.22, allocations: 0.6879 MB / 1.034 GB, free: 83.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03124/2.251, allocations: 16.86 MB / 1.051 GB, free: 68.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008583/2.26, allocations: 5.764 MB / 1.056 GB, free: 63.83 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/2.26, allocations: 0 / 1.056 GB, free: 63.83 MB / 458.7 MB Notification: Performance of Templates: time 0.3749/2.634, allocations: 105.6 MB / 1.159 GB, free: 99.52 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches