Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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.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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001052/0.001053, 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.626/1.626, allocations: 205.2 MB / 214.1 MB, free: 5.113 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.0009935/0.0009935, allocations: 91.25 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.093e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07596/0.07598, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/0.3263, allocations: 77.22 MB / 439.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.3265, allocations: 69.72 kB / 439.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02061/0.3472, allocations: 7.315 MB / 447.1 MB, free: 10.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.3472, allocations: 11.81 kB / 447.1 MB, free: 10.05 MB / 314.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.001089/0.3483, allocations: 0.6453 MB / 447.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3484, allocations: 11.53 kB / 447.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.3484, allocations: 31 kB / 447.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3487, allocations: 250.8 kB / 448.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/0.349, allocations: 134.6 kB / 448.2 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.3491, allocations: 15.25 kB / 448.2 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004219/0.3495, allocations: 254.3 kB / 448.5 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.3499, allocations: 275.9 kB / 448.7 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.35, allocations: 7.781 kB / 448.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.35, allocations: 0 / 448.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.35, allocations: 7.5 kB / 448.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.351, allocations: 0.9286 MB / 449.7 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3514, allocations: 273 kB / 450 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.3516, allocations: 149.7 kB / 450.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3516, allocations: 3.688 kB / 450.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3516, allocations: 46.34 kB / 450.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.3517, allocations: 0 / 450.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.00173/0.3534, allocations: 1.744 MB / 451.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3534, allocations: 106.7 kB / 452 MB, free: 6.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3535, allocations: 161.9 kB / 452.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3536, allocations: 29.64 kB / 452.2 MB, free: 6.613 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.3536, allocations: 136.2 kB / 452.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.3537, allocations: 139.1 kB / 452.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.3537, allocations: 0 / 452.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.3538, allocations: 331.2 kB / 452.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.354, allocations: 123.2 kB / 452.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.3542, allocations: 166.9 kB / 453.1 MB, free: 6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3543, allocations: 117.4 kB / 453.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3544, allocations: 0.6562 kB / 453.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004662/0.3548, allocations: 334.1 kB / 453.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3548, allocations: 9.469 kB / 453.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3549, allocations: 3.984 kB / 453.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3549, allocations: 3.844 kB / 453.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.3556, allocations: 179.2 kB / 453.7 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3556, allocations: 7.828 kB / 453.7 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.3558, allocations: 27.45 kB / 453.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3559, allocations: 14.81 kB / 453.7 MB, free: 5.832 MB / 314.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 6.955e-05/0.3559, allocations: 108.9 kB / 453.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/0.356, allocations: 30.41 kB / 453.9 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.3561, allocations: 35.16 kB / 453.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3561, allocations: 7.75 kB / 453.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3561, allocations: 0 / 453.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3561, allocations: 7.828 kB / 453.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.3573, allocations: 1.117 MB / 455 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3573, allocations: 3.656 kB / 455 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/0.3582, allocations: 220.1 kB / 455.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.3582, allocations: 11.52 kB / 455.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.3582, allocations: 7.781 kB / 455.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3583, allocations: 3.812 kB / 455.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3583, allocations: 0 / 455.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006668/0.3589, allocations: 0.7908 MB / 456.1 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/0.359, allocations: 129.6 kB / 456.2 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.3591, allocations: 7.828 kB / 456.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.3596, allocations: 66.45 kB / 456.3 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.3596, allocations: 38.31 kB / 456.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3597, allocations: 10.66 kB / 456.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.722e-05/0.3598, allocations: 129.8 kB / 456.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004054/0.3602, allocations: 73.47 kB / 456.5 MB, free: 4.098 MB / 314.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.0001157/0.3603, allocations: 109.6 kB / 456.6 MB, free: 4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.3606, allocations: 238.9 kB / 456.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3606, allocations: 0 / 456.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3608, allocations: 170.4 kB / 457 MB, free: 3.965 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.3613, allocations: 51.16 kB / 457.1 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3655, allocations: 1.38 MB / 458.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.3658, allocations: 0.8016 MB / 459.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3658, allocations: 0 / 459.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of Templates: time 0.00608/0.3719, allocations: 3.605 MB / 462.9 MB, free: 0.6484 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches