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.001972/0.001972, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.00221/0.00221, allocations: 164.5 kB / 25.02 MB, free: 9.438 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 1.511/1.511, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.292e-06/1.292e-06, allocations: 0 / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.315e-05, allocations: 10.25 kB / 250.4 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004266/0.004299, allocations: 2.292 MB / 252.6 MB, free: 1.641 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.005832, allocations: 0.7452 MB / 253.4 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.005946, allocations: 7.938 kB / 253.4 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.006097, allocations: 47.52 kB / 253.4 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.00634, allocations: 111 kB / 253.6 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.006697, allocations: 127.7 kB / 253.7 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.007228, allocations: 486 kB / 254.2 MB, free: 128 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.007407, allocations: 61.09 kB / 254.2 MB, free: 60 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.007791, allocations: 267.5 kB / 254.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.008045, allocations: 167.6 kB / 254.6 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.008115, allocations: 36 kB / 254.7 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.008186, allocations: 40 kB / 254.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.008292, allocations: 83.72 kB / 254.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.008462, allocations: 139.7 kB / 254.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.009009, allocations: 442.6 kB / 255.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.009012, allocations: 0 / 255.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.009013, allocations: 0 / 255.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.009018, allocations: 0 / 255.4 MB, free: 14.91 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.001619/0.01064, allocations: 0.6105 MB / 256 MB, free: 14.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.01068, allocations: 11.98 kB / 256 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.01082, allocations: 60.75 kB / 256 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.01126, allocations: 225 kB / 256.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.01145, allocations: 131.9 kB / 256.4 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.01152, allocations: 36.33 kB / 256.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.01255, allocations: 374.6 kB / 256.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.01258, allocations: 4 kB / 256.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.01262, allocations: 12 kB / 256.8 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.01263, allocations: 4 kB / 256.8 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.01389, allocations: 391.6 kB / 257.2 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01529, allocations: 0.8062 MB / 258 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.01666, allocations: 395.5 kB / 258.4 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/0.01733, allocations: 206.4 kB / 258.6 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.01736, allocations: 8.438 kB / 258.6 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.0174, allocations: 42.44 kB / 258.6 MB, free: 11.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 6.261e-06/0.01741, allocations: 4 kB / 258.6 MB, free: 11.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.005222/0.02263, allocations: 1.874 MB / 260.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.02273, allocations: 114.7 kB / 260.6 MB, free: 9.281 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.02297, allocations: 186.8 kB / 260.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.02301, allocations: 29.7 kB / 260.8 MB, free: 9.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.02315, allocations: 160.7 kB / 261 MB, free: 8.891 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.02331, allocations: 146.7 kB / 261.1 MB, free: 8.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.02346, allocations: 74.19 kB / 261.2 MB, free: 8.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.02366, allocations: 330.8 kB / 261.5 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.024, allocations: 116.9 kB / 261.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.0244, allocations: 162.1 kB / 261.8 MB, free: 8.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.02511, allocations: 291.5 kB / 262.1 MB, free: 7.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.02511, allocations: 0 / 262.1 MB, free: 7.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009111/0.02602, allocations: 380.6 kB / 262.5 MB, free: 7.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.02604, allocations: 4.094 kB / 262.5 MB, free: 7.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.02605, allocations: 8 kB / 262.5 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.02607, allocations: 8 kB / 262.5 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.0268, allocations: 155.7 kB / 262.6 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.0268, allocations: 0 / 262.6 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.02704, allocations: 27.98 kB / 262.7 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.02707, allocations: 12 kB / 262.7 MB, free: 7.156 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 0.0001865/0.02725, allocations: 145.8 kB / 262.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.02738, allocations: 39.81 kB / 262.9 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.02746, allocations: 37.45 kB / 262.9 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.02746, allocations: 4 kB / 262.9 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.02747, allocations: 3.938 kB / 262.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.02748, allocations: 3.984 kB / 262.9 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.03007, allocations: 1.191 MB / 264.1 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.03008, allocations: 8.188 kB / 264.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008847/0.03096, allocations: 167.8 kB / 264.3 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.03097, allocations: 8 kB / 264.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.03102, allocations: 12 kB / 264.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.03102, allocations: 4 kB / 264.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.03102, allocations: 0 / 264.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.0335, allocations: 0.9684 MB / 265.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.03363, allocations: 47.88 kB / 265.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.03368, allocations: 11.98 kB / 265.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.03413, allocations: 43.95 kB / 265.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.03425, allocations: 43.81 kB / 265.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.03428, allocations: 19.98 kB / 265.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.03442, allocations: 131.2 kB / 265.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03442, allocations: 0 / 265.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004896/0.03491, allocations: 88 kB / 265.6 MB, free: 4.07 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 0.0001589/0.03507, allocations: 103.2 kB / 265.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.03616, allocations: 355.5 kB / 266.1 MB, free: 3.613 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03616, allocations: 3.938 kB / 266.1 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.03689, allocations: 244 kB / 266.3 MB, free: 3.371 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.03763, allocations: 91.14 kB / 266.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.04274, allocations: 1.307 MB / 267.7 MB, free: 1.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.04297, allocations: 163.9 kB / 267.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.04315, allocations: 38.95 kB / 267.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.04329, allocations: 40.48 kB / 268 MB, free: 1.668 MB / 250.7 MB Notification: Performance of SimCode: time 8.71e-07/0.04329, allocations: 0 / 268 MB, free: 1.668 MB / 250.7 MB Notification: Performance of Templates: time 0.0102/0.05349, allocations: 4.461 MB / 272.4 MB, free: 13.23 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.535365062998608]