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.0008212/0.0008212, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0008256/0.0008256, allocations: 147.7 kB / 24.98 MB, free: 8.812 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.8854/0.8854, allocations: 173.3 MB / 201.5 MB, free: 9.344 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.543e-06/1.543e-06, allocations: 0 / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.068e-05, allocations: 9.625 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002767/0.002788, allocations: 2.463 MB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.003735, allocations: 0.7288 MB / 271.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.00383, allocations: 7.938 kB / 271.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.931e-05/0.003919, allocations: 35.59 kB / 271.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.004064, allocations: 119 kB / 271.4 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.004319, allocations: 131.7 kB / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.004615, allocations: 482 kB / 272 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004728, allocations: 57.12 kB / 272.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.004944, allocations: 267.5 kB / 272.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.005084, allocations: 163.6 kB / 272.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.005123, allocations: 40 kB / 272.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.005159, allocations: 36 kB / 272.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.00521, allocations: 87.72 kB / 272.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.005298, allocations: 131.7 kB / 272.8 MB, free: 2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.005532, allocations: 307 kB / 273.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005534, allocations: 4 kB / 273.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005534, allocations: 0 / 273.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.005538, allocations: 0 / 273.1 MB, free: 1.695 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.0007375/0.006276, allocations: 0.6753 MB / 273.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.006302, allocations: 8.922 kB / 273.8 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.006379, allocations: 64.7 kB / 273.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.006583, allocations: 219.9 kB / 274 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.00667, allocations: 135.9 kB / 274.2 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.006708, allocations: 28.38 kB / 274.2 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.007077, allocations: 303.8 kB / 274.5 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.007089, allocations: 7.938 kB / 274.5 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.007111, allocations: 12 kB / 274.5 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007119, allocations: 8 kB / 274.5 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.007375, allocations: 170.8 kB / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.008084, allocations: 0.9083 MB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.008379, allocations: 265.2 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.008518, allocations: 115 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.008531, allocations: 8 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.00855, allocations: 41.33 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.232e-06/0.008552, allocations: 4 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001488/0.01004, allocations: 1.373 MB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.01008, allocations: 114.7 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.01021, allocations: 237.6 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.01023, allocations: 33.7 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.0103, allocations: 199.4 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/0.01039, allocations: 150.7 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.01047, allocations: 75.84 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01059, allocations: 0.504 MB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.01072, allocations: 68.95 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.01084, allocations: 127.1 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.01106, allocations: 201.1 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01106, allocations: 0 / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003043/0.01137, allocations: 265.3 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.01138, allocations: 8 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01138, allocations: 0 / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.01139, allocations: 7.984 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.01168, allocations: 127.8 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01169, allocations: 4 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.01178, allocations: 24.05 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.01179, allocations: 12 kB / 279.5 MB, free: 10.74 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 8.601e-05/0.01187, allocations: 176.5 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.01194, allocations: 47.8 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.01198, allocations: 25.47 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01198, allocations: 7.938 kB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.01199, allocations: 7.938 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01199, allocations: 3.984 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/0.01288, allocations: 1.132 MB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01288, allocations: 4 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.01324, allocations: 144 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01324, allocations: 4 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01326, allocations: 8 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01326, allocations: 4 kB / 281.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01326, allocations: 7.938 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.01383, allocations: 0.8021 MB / 281.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.0139, allocations: 51.75 kB / 281.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.01393, allocations: 15.94 kB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.01411, allocations: 31.97 kB / 282 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.01418, allocations: 43.86 kB / 282 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.0142, allocations: 16 kB / 282 MB, free: 8.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.821e-05/0.01426, allocations: 175.2 kB / 282.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01426, allocations: 0 / 282.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.01453, allocations: 80 kB / 282.3 MB, free: 7.816 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 7.1e-05/0.01461, allocations: 110.2 kB / 282.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.01489, allocations: 221.2 kB / 282.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01489, allocations: 0 / 282.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.01505, allocations: 152.5 kB / 282.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.01545, allocations: 95.3 kB / 282.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.0184, allocations: 1.187 MB / 284 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.01848, allocations: 96.77 kB / 284.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.01861, allocations: 46.94 kB / 284.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01871, allocations: 32.48 kB / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01872, allocations: 0 / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of Templates: time 0.006852/0.02557, allocations: 4.457 MB / 288.7 MB, free: 1.395 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.721184439957142]