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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9118/0.9118, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 268.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.319e-05, allocations: 6.312 kB / 268.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002897/0.00291, allocations: 2.45 MB / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.00409, allocations: 0.7403 MB / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004203, allocations: 7.938 kB / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.004328, allocations: 43.58 kB / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.004529, allocations: 115 kB / 271.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.004812, allocations: 131.7 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.005199, allocations: 482 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.005323, allocations: 63.09 kB / 272.5 MB, free: 2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.005602, allocations: 267.4 kB / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.005789, allocations: 171.6 kB / 272.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.00584, allocations: 36 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.006e-05/0.00589, allocations: 44 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.005954, allocations: 83.72 kB / 273.1 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.00607, allocations: 135.7 kB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.006366, allocations: 307 kB / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.006367, allocations: 0 / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006368, allocations: 4 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.015e-06/0.006371, allocations: 0 / 273.5 MB, free: 0.9727 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.000821/0.007192, allocations: 0.5429 MB / 274 MB, free: 416 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.007222, allocations: 12.92 kB / 274 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.007297, allocations: 44.91 kB / 274.1 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.007528, allocations: 189 kB / 274.3 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.007639, allocations: 139.9 kB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.007687, allocations: 24.38 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.008079, allocations: 287.2 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.008096, allocations: 3.953 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.008121, allocations: 8 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.008128, allocations: 4 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.008341, allocations: 123.9 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/0.009105, allocations: 0.6209 MB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.00936, allocations: 179.8 kB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.009478, allocations: 94.47 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.009495, allocations: 8 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.009518, allocations: 42.5 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.452e-06/0.00952, allocations: 4 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001438/0.01096, allocations: 1.156 MB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.011, allocations: 106.8 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01111, allocations: 182.5 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01114, allocations: 33.7 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.0112, allocations: 136.7 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.01128, allocations: 150.7 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.01138, allocations: 70.11 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.01147, allocations: 342.8 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.01157, allocations: 48.97 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.01167, allocations: 102.1 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.01185, allocations: 152.9 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01185, allocations: 0 / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002543/0.0121, allocations: 200.5 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01212, allocations: 4 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01212, allocations: 0 / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01213, allocations: 4 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.01249, allocations: 123.8 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.01249, allocations: 4.094 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01261, allocations: 19.94 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01262, allocations: 12 kB / 278.6 MB, free: 11.45 MB / 266.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.593e-05/0.01272, allocations: 137.7 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.0128, allocations: 27.98 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.01285, allocations: 33.45 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01285, allocations: 4 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01285, allocations: 0 / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.01286, allocations: 15.92 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.0138, allocations: 0.7921 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.0138, allocations: 0 / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.01424, allocations: 144 kB / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.01424, allocations: 4 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.01426, allocations: 8 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.01427, allocations: 4 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01427, allocations: 7.938 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.01477, allocations: 0.5625 MB / 280.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.01485, allocations: 35.78 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.01489, allocations: 8 kB / 280.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.01514, allocations: 35.97 kB / 280.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.01522, allocations: 51.8 kB / 280.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.01523, allocations: 4 kB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.01528, allocations: 60.78 kB / 280.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01528, allocations: 0 / 280.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.01566, allocations: 84 kB / 280.6 MB, free: 9.316 MB / 266.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.834e-05/0.01575, allocations: 87.33 kB / 280.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.016, allocations: 170.8 kB / 280.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.016, allocations: 4 kB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.01615, allocations: 120.8 kB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.01665, allocations: 89.52 kB / 281.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.01922, allocations: 1.049 MB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.844e-05/0.0193, allocations: 92.81 kB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.01942, allocations: 38.97 kB / 282.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.01963, allocations: 123.3 kB / 282.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01963, allocations: 0 / 282.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of Templates: time 0.007564/0.02719, allocations: 4.863 MB / 287.2 MB, free: 2.695 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] 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","",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.5789997060783207]