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.0009842/0.0009842, allocations: 85.95 kB / 23 MB, free: 1.5 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.0009448/0.0009448, allocations: 180.2 kB / 26.4 MB, free: 8 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.9417/0.9417, allocations: 158.6 MB / 188.3 MB, free: 2.801 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 2.445e-06/2.445e-06, allocations: 3.938 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.638e-05, allocations: 6.25 kB / 252.2 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004521/0.004557, allocations: 2.433 MB / 254.7 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.006332, allocations: 0.7686 MB / 255.5 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.006529, allocations: 7.938 kB / 255.5 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.006711, allocations: 35.59 kB / 255.5 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.007002, allocations: 119 kB / 255.6 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.007473, allocations: 131.7 kB / 255.7 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.008027, allocations: 489.9 kB / 256.2 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.008226, allocations: 57.12 kB / 256.3 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000436/0.008662, allocations: 263.5 kB / 256.5 MB, free: 2.934 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.008937, allocations: 171.6 kB / 256.7 MB, free: 2.766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.009012, allocations: 39.94 kB / 256.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.009079, allocations: 40 kB / 256.8 MB, free: 2.688 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.00916, allocations: 83.72 kB / 256.9 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.009311, allocations: 135.7 kB / 257 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.009741, allocations: 303 kB / 257.3 MB, free: 2.172 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.009746, allocations: 4 kB / 257.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.009748, allocations: 4 kB / 257.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.009756, allocations: 0 / 257.3 MB, free: 2.164 MB / 234.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.001283/0.01104, allocations: 0.6752 MB / 258 MB, free: 1.453 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.01109, allocations: 15.98 kB / 258 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.01121, allocations: 60.75 kB / 258 MB, free: 1.379 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.01156, allocations: 215.9 kB / 258.3 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.01169, allocations: 135.9 kB / 258.4 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.01176, allocations: 32.33 kB / 258.4 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.01233, allocations: 283.8 kB / 258.7 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.01235, allocations: 7.922 kB / 258.7 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.01239, allocations: 15.98 kB / 258.7 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.0124, allocations: 4 kB / 258.7 MB, free: 0.625 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.01271, allocations: 131.9 kB / 258.9 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.01399, allocations: 0.8739 MB / 259.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.01441, allocations: 237.1 kB / 260 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.01459, allocations: 99.02 kB / 260.1 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01462, allocations: 7.938 kB / 260.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.01465, allocations: 41.39 kB / 260.1 MB, free: 15.15 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.01465, allocations: 0 / 260.1 MB, free: 15.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.002038/0.01669, allocations: 1.213 MB / 261.3 MB, free: 13.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.01675, allocations: 110.8 kB / 261.4 MB, free: 13.63 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.01694, allocations: 249.4 kB / 261.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.01697, allocations: 29.7 kB / 261.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01708, allocations: 199.5 kB / 261.9 MB, free: 13.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.0172, allocations: 150.7 kB / 262 MB, free: 12.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.01734, allocations: 75.8 kB / 262.1 MB, free: 12.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.01751, allocations: 0.5117 MB / 262.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.01769, allocations: 52.95 kB / 262.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01786, allocations: 115 kB / 262.8 MB, free: 12.19 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.01813, allocations: 169.8 kB / 263 MB, free: 12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01813, allocations: 0 / 263 MB, free: 12 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004416/0.01857, allocations: 246.9 kB / 263.2 MB, free: 11.76 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01859, allocations: 4 kB / 263.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.0186, allocations: 4 kB / 263.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01862, allocations: 4 kB / 263.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.01914, allocations: 115.9 kB / 263.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01915, allocations: 11.92 kB / 263.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.01931, allocations: 24.03 kB / 263.4 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01933, allocations: 7.938 kB / 263.4 MB, free: 11.59 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.0001459/0.01947, allocations: 188.4 kB / 263.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.01959, allocations: 43.75 kB / 263.6 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.01965, allocations: 29.47 kB / 263.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01966, allocations: 4 kB / 263.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01966, allocations: 0 / 263.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.01968, allocations: 11.92 kB / 263.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.02116, allocations: 1.074 MB / 264.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.02116, allocations: 4 kB / 264.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.02174, allocations: 140 kB / 264.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.02175, allocations: 4 kB / 264.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.02177, allocations: 19.98 kB / 264.9 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.02178, allocations: 4 kB / 264.9 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.02178, allocations: 3.938 kB / 264.9 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.02232, allocations: 0.7617 MB / 265.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.0224, allocations: 51.8 kB / 265.7 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.02243, allocations: 16 kB / 265.7 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.02263, allocations: 35.95 kB / 265.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.0227, allocations: 39.88 kB / 265.8 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.02272, allocations: 15.98 kB / 265.8 MB, free: 9.016 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.505e-05/0.02278, allocations: 164.5 kB / 266 MB, free: 8.855 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02278, allocations: 0 / 266 MB, free: 8.855 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.02307, allocations: 84 kB / 266 MB, free: 8.773 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.0001223/0.0232, allocations: 107.2 kB / 266.1 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.02344, allocations: 196.9 kB / 266.3 MB, free: 8.465 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02344, allocations: 4 kB / 266.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.02359, allocations: 135.6 kB / 266.5 MB, free: 8.324 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.02405, allocations: 84.48 kB / 266.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.02646, allocations: 1.186 MB / 267.7 MB, free: 7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.02654, allocations: 92.81 kB / 267.8 MB, free: 6.891 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.02666, allocations: 38.91 kB / 267.9 MB, free: 6.848 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.02685, allocations: 150.1 kB / 268 MB, free: 6.699 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02685, allocations: 0 / 268 MB, free: 6.699 MB / 250.7 MB Notification: Performance of Templates: time 0.006792/0.03365, allocations: 4.977 MB / 273 MB, free: 1.746 MB / 250.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.81431226991117]