Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [: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.00104/0.00104, allocations: 176.1 kB / 8.478 MB, free: 1.891 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.246/1.246, allocations: 205.2 MB / 214.1 MB, free: 5.105 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.000896/0.0008961, allocations: 95.31 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.404e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08839, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2443/0.3327, allocations: 89.74 MB / 452.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.333, allocations: 82.95 kB / 452.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1474/0.4803, allocations: 55.84 MB / 0.4963 GB, free: 2.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.82e-05/0.4804, allocations: 40 kB / 0.4963 GB, free: 2.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005143/0.4856, allocations: 2.492 MB / 0.4988 GB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4856, allocations: 12.03 kB / 0.4988 GB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007808/0.4935, allocations: 1.572 MB / 0.5003 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008771/0.5023, allocations: 3.341 MB / 0.5036 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.5024, allocations: 72 kB / 0.5036 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000668/0.5031, allocations: 139.9 kB / 0.5038 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005674/0.5088, allocations: 4.041 MB / 0.5077 GB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.5161, allocations: 6.309 MB / 0.5139 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.971e-05/0.5162, allocations: 47.53 kB / 0.5139 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.5166, allocations: 24 kB / 0.514 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008765/0.5175, allocations: 0.7671 MB / 0.5147 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.5499, allocations: 32.62 MB / 0.5466 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.5526, allocations: 2.147 MB / 0.5487 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.5539, allocations: 1.128 MB / 0.5498 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005628/0.5595, allocations: 3.63 MB / 0.5533 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5596, allocations: 46.5 kB / 0.5534 GB, free: 5.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 3.346e-06/0.5596, allocations: 3.938 kB / 0.5534 GB, free: 5.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=101): time 0.0159/0.5755, allocations: 8.158 MB / 0.5613 GB, free: 13.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.5756, allocations: 137 kB / 0.5615 GB, free: 13.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.5792, allocations: 2.2 MB / 0.5636 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.5795, allocations: 25.7 kB / 0.5636 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.5807, allocations: 2.05 MB / 0.5656 GB, free: 9.078 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/0.5811, allocations: 414.9 kB / 0.566 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.5813, allocations: 0 / 0.566 GB, free: 8.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003016/0.5816, allocations: 0.5437 MB / 0.5666 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.5833, allocations: 1.332 MB / 0.5679 GB, free: 6.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003605/0.587, allocations: 4.261 MB / 0.572 GB, free: 1.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1359/0.7229, allocations: 2.384 MB / 0.5743 GB, free: 159.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/0.723, allocations: 31.09 kB / 0.5744 GB, free: 159.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01082/0.7338, allocations: 5.42 MB / 0.5797 GB, free: 159.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7339, allocations: 3.906 kB / 0.5797 GB, free: 159.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.734, allocations: 109.8 kB / 0.5798 GB, free: 159.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.7362, allocations: 0.7427 MB / 0.5805 GB, free: 159.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.7395, allocations: 1.031 MB / 0.5815 GB, free: 159.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.7441, allocations: 3.926 MB / 0.5853 GB, free: 158.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/0.7477, allocations: 181.5 kB / 0.5855 GB, free: 158.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007982/0.7485, allocations: 289.9 kB / 0.5858 GB, free: 158.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (550): * Single equations (assignments): 546 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006147/0.7492, allocations: 354.7 kB / 0.5861 GB, free: 158.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/0.7496, allocations: 216.4 kB / 0.5863 GB, free: 158.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/0.753, allocations: 1.737 MB / 0.588 GB, free: 158.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/0.7531, allocations: 10.91 kB / 0.588 GB, free: 158.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.7531, allocations: 0 / 0.588 GB, free: 158.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7531, allocations: 13.83 kB / 0.5881 GB, free: 158.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007873/0.761, allocations: 3.979 MB / 0.5919 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.761, allocations: 0 / 0.5919 GB, free: 157.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.7617, allocations: 127.6 kB / 0.5921 GB, free: 157.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.7637, allocations: 0.5795 MB / 0.5926 GB, free: 157.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.7638, allocations: 11.88 kB / 0.5926 GB, free: 157.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.7677, allocations: 3.479 MB / 0.596 GB, free: 156.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.7678, allocations: 3.469 kB / 0.596 GB, free: 156.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005584/0.7734, allocations: 3.605 MB / 0.5996 GB, free: 155.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.7746, allocations: 410.2 kB / 0.6 GB, free: 155.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006474/0.7752, allocations: 3.844 kB / 0.6 GB, free: 155.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7763, allocations: 41.03 kB / 0.6 GB, free: 155.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.7765, allocations: 42.25 kB / 0.6 GB, free: 155.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/0.7766, allocations: 26.03 kB / 0.6001 GB, free: 155.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002284/0.7789, allocations: 1.462 MB / 0.6015 GB, free: 155.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003827/0.7827, allocations: 0.5475 MB / 0.602 GB, free: 155.5 MB / 426.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 (70): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003942/0.7831, allocations: 141.4 kB / 0.6022 GB, free: 155.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004313/0.7874, allocations: 3.195 MB / 0.6053 GB, free: 155.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7874, allocations: 3.719 kB / 0.6053 GB, free: 155.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.7884, allocations: 0.8752 MB / 0.6061 GB, free: 154.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.7894, allocations: 200.2 kB / 0.6063 GB, free: 154.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.7971, allocations: 4.424 MB / 0.6107 GB, free: 153.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/0.7996, allocations: 2.422 MB / 0.613 GB, free: 152.4 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7996, allocations: 0 / 0.613 GB, free: 152.4 MB / 426.7 MB Notification: Performance of Templates: time 0.04087/0.8405, allocations: 22.12 MB / 0.6346 GB, free: 143.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches