Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 186.1 kB / 8.136 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 221.4 MB / 229.9 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 96.64 kB / 280.8 MB, free: 1.312 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.521e-05, allocations: 8 kB / 336.5 MB, free: 9.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2391, allocations: 50.39 MB / 386.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08262/0.3218, allocations: 78.11 MB / 465 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.322, allocations: 67.91 kB / 465.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02215/0.3442, allocations: 7.45 MB / 472.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3442, allocations: 8 kB / 472.5 MB, free: 1.199 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.00132/0.3456, allocations: 0.6427 MB / 473.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3456, allocations: 10.56 kB / 473.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.3457, allocations: 35.62 kB / 473.2 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.3461, allocations: 266.3 kB / 473.5 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.3465, allocations: 127.8 kB / 473.6 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.3466, allocations: 12 kB / 473.6 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005247/0.3471, allocations: 256.9 kB / 473.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.3476, allocations: 282.3 kB / 474.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3476, allocations: 3.906 kB / 474.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.3476, allocations: 3.938 kB / 474.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3477, allocations: 8 kB / 474.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3489, allocations: 0.9145 MB / 475.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.3494, allocations: 273.2 kB / 475.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3496, allocations: 146.6 kB / 475.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3497, allocations: 7.984 kB / 475.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3497, allocations: 38.5 kB / 475.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.3497, allocations: 0 / 475.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.002301/0.352, allocations: 1.748 MB / 477.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.3521, allocations: 110.8 kB / 477.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3522, allocations: 162.4 kB / 477.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3523, allocations: 25.7 kB / 477.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.3524, allocations: 140.5 kB / 477.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.3525, allocations: 134 kB / 477.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.3525, allocations: 0 / 477.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3526, allocations: 334.8 kB / 478.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3528, allocations: 120.9 kB / 478.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.3531, allocations: 160.6 kB / 478.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3533, allocations: 113.3 kB / 478.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3533, allocations: 4 kB / 478.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005732/0.3539, allocations: 341.1 kB / 478.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3539, allocations: 4 kB / 478.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3539, allocations: 0 / 478.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3539, allocations: 7.906 kB / 478.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.3547, allocations: 175.9 kB / 479.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3547, allocations: 11.92 kB / 479.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.355, allocations: 23.98 kB / 479.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.355, allocations: 15.98 kB / 479.1 MB, free: 10.09 MB / 362.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 9.688e-05/0.3551, allocations: 114.2 kB / 479.2 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3552, allocations: 23.72 kB / 479.3 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.3553, allocations: 29.45 kB / 479.3 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3553, allocations: 4 kB / 479.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.3553, allocations: 7.906 kB / 479.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3553, allocations: 0 / 479.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.3569, allocations: 1.13 MB / 480.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.357, allocations: 7.906 kB / 480.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/0.358, allocations: 225 kB / 480.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.358, allocations: 4 kB / 480.7 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.358, allocations: 7.984 kB / 480.7 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.358, allocations: 8 kB / 480.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.358, allocations: 0 / 480.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000869/0.3589, allocations: 0.8065 MB / 481.5 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3591, allocations: 124.8 kB / 481.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.3591, allocations: 4 kB / 481.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.3596, allocations: 67.94 kB / 481.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3597, allocations: 44.44 kB / 481.7 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.3598, allocations: 8 kB / 481.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.449e-05/0.3599, allocations: 127.3 kB / 481.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004547/0.3603, allocations: 75.98 kB / 481.9 MB, free: 7.098 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.0001556/0.3605, allocations: 111.1 kB / 482 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.3609, allocations: 237.5 kB / 482.3 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3609, allocations: 3.938 kB / 482.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.3612, allocations: 162.2 kB / 482.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.3617, allocations: 49.83 kB / 482.5 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.3669, allocations: 1.379 MB / 483.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.3674, allocations: 0.8061 MB / 484.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3674, allocations: 0 / 484.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of Templates: time 0.007457/0.3749, allocations: 3.587 MB / 488.3 MB, free: 0.75 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches