Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [: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.001688/0.001688, allocations: 196.4 kB / 8.535 MB, free: 1.84 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.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008615/0.0008615, allocations: 95.89 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.063e-06, allocations: 0 / 343.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 51.47 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2774/0.3913, allocations: 78.93 MB / 473.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3916, allocations: 67.27 kB / 473.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02031/0.4119, allocations: 7.509 MB / 481.1 MB, free: 8.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.412, allocations: 4 kB / 481.1 MB, free: 8.289 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001195/0.4132, allocations: 0.6401 MB / 481.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4132, allocations: 12.03 kB / 481.8 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/0.4133, allocations: 31.62 kB / 481.8 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.4136, allocations: 259.3 kB / 482.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.414, allocations: 127.1 kB / 482.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.4141, allocations: 19.98 kB / 482.2 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004594/0.4145, allocations: 252.1 kB / 482.4 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.4149, allocations: 275.6 kB / 482.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.415, allocations: 11.89 kB / 482.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.415, allocations: 3.938 kB / 482.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.415, allocations: 12 kB / 482.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.4162, allocations: 0.9088 MB / 483.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4166, allocations: 264.7 kB / 483.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.4168, allocations: 144.6 kB / 484 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.4168, allocations: 8 kB / 484.1 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4168, allocations: 41.94 kB / 484.1 MB, free: 5.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.4168, allocations: 0 / 484.1 MB, free: 5.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001887/0.4187, allocations: 1.744 MB / 485.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.4188, allocations: 110.8 kB / 485.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.4189, allocations: 154.7 kB / 486.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.419, allocations: 29.7 kB / 486.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.419, allocations: 137.5 kB / 486.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.4191, allocations: 129.5 kB / 486.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.4191, allocations: 3.984 kB / 486.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.4192, allocations: 339.6 kB / 486.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.4194, allocations: 108.5 kB / 486.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.4197, allocations: 171.2 kB / 487 MB, free: 2.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.4199, allocations: 112.5 kB / 487.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4199, allocations: 0 / 487.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005513/0.4204, allocations: 342.4 kB / 487.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4205, allocations: 7.906 kB / 487.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4205, allocations: 4 kB / 487.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4205, allocations: 8.094 kB / 487.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.4213, allocations: 177.9 kB / 487.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4213, allocations: 4 kB / 487.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.4215, allocations: 23.92 kB / 487.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.4215, allocations: 15.19 kB / 487.7 MB, free: 2.203 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * 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 7.937e-05/0.4216, allocations: 109.2 kB / 487.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.4217, allocations: 31.72 kB / 487.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.4218, allocations: 29.95 kB / 487.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4218, allocations: 7.906 kB / 487.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4218, allocations: 3.938 kB / 487.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4218, allocations: 3.984 kB / 487.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.4231, allocations: 1.134 MB / 489 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4231, allocations: 4 kB / 489 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/0.424, allocations: 219.9 kB / 489.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.424, allocations: 4 kB / 489.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.4241, allocations: 4.938 kB / 489.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4241, allocations: 4 kB / 489.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4241, allocations: 7.984 kB / 489.2 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007628/0.4249, allocations: 0.8062 MB / 490 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.425, allocations: 128 kB / 490.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.4251, allocations: 4.562 kB / 490.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.4256, allocations: 65.27 kB / 490.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.4257, allocations: 43.69 kB / 490.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.4257, allocations: 19.92 kB / 490.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.911e-05/0.4258, allocations: 122.8 kB / 490.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.4263, allocations: 68 kB / 490.5 MB, free: 15.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * 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.0001743/0.4264, allocations: 99.19 kB / 490.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004149/0.4269, allocations: 241.8 kB / 490.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4269, allocations: 0 / 490.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.4272, allocations: 173 kB / 491 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.4277, allocations: 50.98 kB / 491 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.4326, allocations: 1.381 MB / 492.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/0.4331, allocations: 0.8099 MB / 493.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4331, allocations: 0 / 493.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Templates: time 0.007762/0.4409, allocations: 3.585 MB / 496.8 MB, free: 9.48 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches