Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001378/0.001378, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001619/0.001619, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 51.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2487, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003891/0.2526, allocations: 2.293 MB / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2541, allocations: 0.7445 MB / 434.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.2542, allocations: 7.938 kB / 434.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2543, allocations: 43.58 kB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.2546, allocations: 111 kB / 434.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.2549, allocations: 135.4 kB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.2554, allocations: 466.2 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2556, allocations: 53.11 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.2558, allocations: 191.4 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.2561, allocations: 183.3 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.2561, allocations: 39.98 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.2562, allocations: 40 kB / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.2563, allocations: 79.75 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2564, allocations: 155.4 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.2569, allocations: 420.7 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2569, allocations: 0 / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2569, allocations: 3.938 kB / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2569, allocations: 0 / 436.5 MB, free: 1.781 MB / 334.1 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.001518/0.2584, allocations: 0.6144 MB / 437.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2584, allocations: 19.97 kB / 437.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.2585, allocations: 32.75 kB / 437.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.2589, allocations: 210 kB / 437.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.2591, allocations: 139.6 kB / 437.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.2592, allocations: 32 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.2601, allocations: 378.4 kB / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.2601, allocations: 0 / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.2602, allocations: 12 kB / 437.9 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2602, allocations: 4 kB / 437.9 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2614, allocations: 394.3 kB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.2627, allocations: 0.8136 MB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.2638, allocations: 395.5 kB / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.2645, allocations: 206.4 kB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.2645, allocations: 4 kB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2645, allocations: 42.48 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.2645, allocations: 0 / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004795/0.2693, allocations: 1.878 MB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.2694, allocations: 110.8 kB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2696, allocations: 187 kB / 441.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.2696, allocations: 33.7 kB / 441.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2697, allocations: 152.7 kB / 442.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.2699, allocations: 154.7 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.27, allocations: 66.12 kB / 442.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2702, allocations: 338.8 kB / 442.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.2705, allocations: 112.8 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.2708, allocations: 161.5 kB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.2715, allocations: 294.2 kB / 443.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2715, allocations: 0 / 443.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008294/0.2723, allocations: 368.2 kB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2724, allocations: 7.938 kB / 443.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2724, allocations: 4 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2724, allocations: 4 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.2731, allocations: 147.8 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2731, allocations: 3.984 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2733, allocations: 31.98 kB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2734, allocations: 12 kB / 443.8 MB, free: 10.08 MB / 350.1 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.0001547/0.2735, allocations: 141.8 kB / 443.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2736, allocations: 39.69 kB / 443.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.2737, allocations: 33.45 kB / 444 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2737, allocations: 4 kB / 444 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2737, allocations: 0 / 444 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2737, allocations: 3.984 kB / 444 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.2761, allocations: 1.194 MB / 445.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2761, allocations: 0 / 445.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/0.2769, allocations: 168 kB / 445.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.2769, allocations: 7.984 kB / 445.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.277, allocations: 8 kB / 445.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.277, allocations: 4 kB / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.277, allocations: 8.406 kB / 445.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.2791, allocations: 0.953 MB / 446.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2792, allocations: 55.88 kB / 446.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.2793, allocations: 15.92 kB / 446.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.2797, allocations: 43.95 kB / 446.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2798, allocations: 47.81 kB / 446.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.2798, allocations: 15.98 kB / 446.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.28, allocations: 139.3 kB / 446.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.28, allocations: 0 / 446.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.2804, allocations: 80 kB / 446.7 MB, free: 7.004 MB / 350.1 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.0001562/0.2806, allocations: 107.2 kB / 446.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.2816, allocations: 359.7 kB / 447.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2816, allocations: 0 / 447.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.2824, allocations: 239.6 kB / 447.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.2831, allocations: 71.52 kB / 447.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.2884, allocations: 1.433 MB / 448.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2886, allocations: 159.9 kB / 449.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000174/0.2887, allocations: 38.95 kB / 449.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2889, allocations: 43.42 kB / 449.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2889, allocations: 3.938 kB / 449.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of Templates: time 0.009968/0.2988, allocations: 4.807 MB / 453.9 MB, free: 15.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.630357006564736]