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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 168.5 kB / 25.33 MB, free: 9.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8428/0.8428, allocations: 158.6 MB / 187.2 MB, free: 2.504 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.634e-05, allocations: 9.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002842/0.002868, allocations: 2.448 MB / 253.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004049, allocations: 0.7762 MB / 254.3 MB, free: 356 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004161, allocations: 7.938 kB / 254.3 MB, free: 348 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.004288, allocations: 51.52 kB / 254.3 MB, free: 296 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.004465, allocations: 107 kB / 254.4 MB, free: 188 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.004821, allocations: 131.7 kB / 254.5 MB, free: 56 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.005206, allocations: 482 kB / 255 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.005364, allocations: 61.12 kB / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.00564, allocations: 267.4 kB / 255.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.005818, allocations: 171.6 kB / 255.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.005863, allocations: 36 kB / 255.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.005908, allocations: 40 kB / 255.6 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.005964, allocations: 87.72 kB / 255.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.006063, allocations: 135.7 kB / 255.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.006353, allocations: 303 kB / 256.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006355, allocations: 4 kB / 256.1 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006356, allocations: 0 / 256.1 MB, free: 14.49 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.006362, allocations: 0 / 256.1 MB, free: 14.49 MB / 250.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.0008876/0.00725, allocations: 0.6791 MB / 256.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.007289, allocations: 15.98 kB / 256.8 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.007378, allocations: 60.75 kB / 256.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.007655, allocations: 208 kB / 257.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.007766, allocations: 139.9 kB / 257.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.007813, allocations: 28.33 kB / 257.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.00822, allocations: 307.8 kB / 257.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.008235, allocations: 4 kB / 257.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.008258, allocations: 12 kB / 257.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.008267, allocations: 4 kB / 257.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.008519, allocations: 175.8 kB / 257.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.009356, allocations: 0.9046 MB / 258.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.009676, allocations: 257 kB / 258.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.009819, allocations: 123 kB / 259 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.009841, allocations: 8 kB / 259 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.009864, allocations: 41.38 kB / 259 MB, free: 11.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.009865, allocations: 0 / 259 MB, free: 11.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001483/0.01135, allocations: 1.376 MB / 260.4 MB, free: 9.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.01139, allocations: 110.8 kB / 260.5 MB, free: 9.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.01152, allocations: 241.5 kB / 260.8 MB, free: 9.406 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01154, allocations: 33.7 kB / 260.8 MB, free: 9.367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.01162, allocations: 199.5 kB / 261 MB, free: 9.168 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.0117, allocations: 146.7 kB / 261.1 MB, free: 9.023 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.821e-05/0.01179, allocations: 79.83 kB / 261.2 MB, free: 8.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.0119, allocations: 0.504 MB / 261.7 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.01203, allocations: 64.95 kB / 261.8 MB, free: 8.355 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.01216, allocations: 139 kB / 261.9 MB, free: 8.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.01237, allocations: 192.4 kB / 262.1 MB, free: 7.984 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01237, allocations: 0 / 262.1 MB, free: 7.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003071/0.01268, allocations: 266.9 kB / 262.4 MB, free: 7.719 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01269, allocations: 8 kB / 262.4 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.0127, allocations: 0 / 262.4 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.01272, allocations: 8.094 kB / 262.4 MB, free: 7.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.01302, allocations: 127.8 kB / 262.5 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01303, allocations: 7.938 kB / 262.5 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.01311, allocations: 16 kB / 262.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01313, allocations: 19.98 kB / 262.5 MB, free: 7.535 MB / 250.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/0.01322, allocations: 176.5 kB / 262.7 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.01328, allocations: 35.86 kB / 262.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.01332, allocations: 37.39 kB / 262.8 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.01333, allocations: 4 kB / 262.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.01333, allocations: 7.938 kB / 262.8 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.01334, allocations: 0 / 262.8 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000923/0.01426, allocations: 1.133 MB / 263.9 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01426, allocations: 0 / 263.9 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.01462, allocations: 151.9 kB / 264.1 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01462, allocations: 4 kB / 264.1 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.01464, allocations: 15.98 kB / 264.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01464, allocations: 4 kB / 264.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01465, allocations: 4 kB / 264.1 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.01524, allocations: 0.7969 MB / 264.9 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.01532, allocations: 55.77 kB / 265 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.01535, allocations: 8 kB / 265 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.01553, allocations: 35.95 kB / 265 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.01561, allocations: 47.81 kB / 265 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.01563, allocations: 15.98 kB / 265.1 MB, free: 4.867 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.01571, allocations: 172.5 kB / 265.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01571, allocations: 0 / 265.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.01599, allocations: 76 kB / 265.3 MB, free: 4.625 MB / 250.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.894e-05/0.01608, allocations: 117.8 kB / 265.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.01637, allocations: 230.4 kB / 265.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01637, allocations: 4 kB / 265.6 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.01654, allocations: 140 kB / 265.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.01695, allocations: 96.44 kB / 265.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.01922, allocations: 1.182 MB / 267.1 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.478e-05/0.01928, allocations: 96.81 kB / 267.2 MB, free: 2.688 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.626e-05/0.01938, allocations: 38.95 kB / 267.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.01947, allocations: 36.48 kB / 267.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01947, allocations: 0 / 267.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of Templates: time 0.005637/0.02511, allocations: 4.471 MB / 271.7 MB, free: 14.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7325158659368753]