Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00161/0.001615, allocations: 182.4 kB / 8.155 MB, free: 2.191 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.744/1.744, allocations: 205.2 MB / 213.8 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002058/0.002057, allocations: 93.73 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.328e-06/9.488e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2579, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.3782, allocations: 77.22 MB / 439 MB, free: 8.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.3786, allocations: 75.94 kB / 439.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03803/0.4166, allocations: 7.322 MB / 446.4 MB, free: 1.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.845e-05/0.4167, allocations: 11.98 kB / 446.5 MB, free: 1.477 MB / 330.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.00234/0.419, allocations: 0.6456 MB / 447.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4191, allocations: 8.031 kB / 447.1 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.4193, allocations: 47.56 kB / 447.2 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.4198, allocations: 249.9 kB / 447.4 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006309/0.4204, allocations: 127.8 kB / 447.5 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.4205, allocations: 16 kB / 447.5 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009031/0.4214, allocations: 252.9 kB / 447.8 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/0.4223, allocations: 282.4 kB / 448.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.4223, allocations: 7.906 kB / 448.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.4224, allocations: 0 / 448.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.4224, allocations: 8 kB / 448.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.4244, allocations: 0.9128 MB / 449 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.4252, allocations: 271 kB / 449.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.4257, allocations: 154.8 kB / 449.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.4257, allocations: 8 kB / 449.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.4258, allocations: 42.55 kB / 449.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.4258, allocations: 0 / 449.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.003688/0.4295, allocations: 1.742 MB / 451.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4296, allocations: 110.8 kB / 451.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4298, allocations: 162 kB / 451.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.4299, allocations: 25.7 kB / 451.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.43, allocations: 195 kB / 451.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.4302, allocations: 138 kB / 451.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.4302, allocations: 0 / 451.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4303, allocations: 326.8 kB / 452.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.4307, allocations: 116.8 kB / 452.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.4312, allocations: 172.6 kB / 452.4 MB, free: 11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.4315, allocations: 120.4 kB / 452.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4316, allocations: 1.406 kB / 452.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009898/0.4326, allocations: 317.3 kB / 452.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4326, allocations: 10.02 kB / 452.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4326, allocations: 7.938 kB / 452.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4327, allocations: 4 kB / 452.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.4342, allocations: 179.9 kB / 453 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.4342, allocations: 0 / 453 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.4346, allocations: 23.98 kB / 453.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.4347, allocations: 19.91 kB / 453.1 MB, free: 10.34 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 0.0001105/0.4348, allocations: 29.64 kB / 453.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.435, allocations: 23.72 kB / 453.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.4351, allocations: 33.45 kB / 453.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.4351, allocations: 4 kB / 453.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4352, allocations: 4 kB / 453.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4352, allocations: 3.984 kB / 453.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.4377, allocations: 1.118 MB / 454.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.4377, allocations: 0 / 454.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.4397, allocations: 227.9 kB / 454.5 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.4397, allocations: 4 kB / 454.5 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.4397, allocations: 8 kB / 454.5 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.4398, allocations: 7.938 kB / 454.5 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.4398, allocations: 9.547 kB / 454.6 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001517/0.4413, allocations: 0.8031 MB / 455.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.4416, allocations: 128.7 kB / 455.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.4417, allocations: 7.984 kB / 455.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008802/0.4426, allocations: 63.95 kB / 455.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4427, allocations: 35.84 kB / 455.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.4428, allocations: 16 kB / 455.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001593/0.443, allocations: 127.6 kB / 455.7 MB, free: 7.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006317/0.4436, allocations: 73.22 kB / 455.8 MB, free: 7.43 MB / 346.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.0001853/0.4438, allocations: 107.1 kB / 455.9 MB, free: 7.316 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000735/0.4445, allocations: 249 kB / 456.1 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4446, allocations: 0 / 456.1 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.4451, allocations: 163.8 kB / 456.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.446, allocations: 53.92 kB / 456.4 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/0.4556, allocations: 1.397 MB / 457.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.4563, allocations: 0.8022 MB / 458.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4563, allocations: 4 kB / 458.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of Templates: time 0.009735/0.466, allocations: 3.707 MB / 462.3 MB, free: 0.8984 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches