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.001006/0.001006, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002409, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001009/0.001009, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002488, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9552/0.9552, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07991/1.035, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.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.603e-06/1.603e-06, allocations: 3.938 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.223e-05, allocations: 9.125 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003845/0.003867, allocations: 2.494 MB / 242 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.005469, allocations: 0.7442 MB / 242.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.005643, allocations: 7.938 kB / 242.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.005784, allocations: 35.59 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.006075, allocations: 123 kB / 242.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.006471, allocations: 131.7 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.007008, allocations: 474 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.007177, allocations: 63 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.007653, allocations: 291.3 kB / 243.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.007923, allocations: 175.5 kB / 244.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.007998, allocations: 36 kB / 244.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.008064, allocations: 40 kB / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.008133, allocations: 59.81 kB / 244.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.008279, allocations: 107.8 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.008688, allocations: 263.1 kB / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.008705, allocations: 0 / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008706, allocations: 0 / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.008723, allocations: 0 / 244.5 MB, free: 14.16 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.0008861/0.009609, allocations: 0.6089 MB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.009645, allocations: 12.03 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.00972, allocations: 52.89 kB / 245.2 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.009949, allocations: 185.1 kB / 245.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.01006, allocations: 139.9 kB / 245.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.0101, allocations: 32.31 kB / 245.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.01044, allocations: 279.2 kB / 245.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01046, allocations: 3.953 kB / 245.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.01048, allocations: 12 kB / 245.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.01048, allocations: 4 kB / 245.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.01065, allocations: 122.9 kB / 246 MB, free: 12.63 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.01132, allocations: 0.6171 MB / 246.6 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.01156, allocations: 199.6 kB / 246.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.01165, allocations: 82.55 kB / 246.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.01167, allocations: 11.98 kB / 246.9 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.0117, allocations: 46.5 kB / 246.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.0117, allocations: 0 / 246.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001216/0.01291, allocations: 1.148 MB / 248.1 MB, free: 10.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.01296, allocations: 110.8 kB / 248.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.01305, allocations: 190.2 kB / 248.4 MB, free: 9.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01308, allocations: 29.7 kB / 248.4 MB, free: 9.945 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.01313, allocations: 144.7 kB / 248.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-05/0.0132, allocations: 138.8 kB / 248.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.01328, allocations: 78.14 kB / 248.8 MB, free: 9.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.01335, allocations: 334.8 kB / 249.1 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.01344, allocations: 52.97 kB / 249.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.01351, allocations: 98.02 kB / 249.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.01364, allocations: 154.2 kB / 249.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01364, allocations: 0 / 249.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001844/0.01383, allocations: 200.5 kB / 249.6 MB, free: 8.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01384, allocations: 4 kB / 249.6 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01385, allocations: 4 kB / 249.6 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.01386, allocations: 0 / 249.6 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.01419, allocations: 147.8 kB / 249.7 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.0142, allocations: 8.094 kB / 249.7 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.01427, allocations: 23.98 kB / 249.8 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01429, allocations: 12 kB / 249.8 MB, free: 8.516 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 7.901e-05/0.01436, allocations: 125.7 kB / 249.9 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.01442, allocations: 35.97 kB / 249.9 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.01446, allocations: 29.45 kB / 250 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01446, allocations: 4 kB / 250 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01446, allocations: 3.938 kB / 250 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.01447, allocations: 8 kB / 250 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.01518, allocations: 0.7961 MB / 250.8 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01518, allocations: 0 / 250.8 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.01553, allocations: 164 kB / 250.9 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.01559, allocations: 31.84 kB / 251 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01559, allocations: 4 kB / 251 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01561, allocations: 11.98 kB / 251 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01561, allocations: 4 kB / 251 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01561, allocations: 3.938 kB / 251 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.01604, allocations: 0.5637 MB / 251.5 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.01608, allocations: 15.98 kB / 251.6 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.01633, allocations: 35.97 kB / 251.6 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.0164, allocations: 43.88 kB / 251.6 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.01642, allocations: 11.98 kB / 251.7 MB, free: 6.523 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.01647, allocations: 48.88 kB / 251.7 MB, free: 6.473 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01647, allocations: 0 / 251.7 MB, free: 6.473 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.01682, allocations: 84 kB / 251.8 MB, free: 6.391 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.0001064/0.01692, allocations: 92.23 kB / 251.9 MB, free: 6.293 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.02019, allocations: 181.8 kB / 252 MB, free: 6.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.0202, allocations: 8 kB / 252.1 MB, free: 6.105 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.02035, allocations: 112.6 kB / 252.2 MB, free: 5.992 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.02086, allocations: 130.7 kB / 252.3 MB, free: 5.871 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.03217, allocations: 1.019 MB / 253.3 MB, free: 4.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.735e-05/0.03225, allocations: 93.12 kB / 253.4 MB, free: 4.691 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.03238, allocations: 34.97 kB / 253.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.03259, allocations: 123.3 kB / 253.6 MB, free: 4.539 MB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.03259, allocations: 0 / 253.6 MB, free: 4.539 MB / 250.7 MB Notification: Performance of Templates: time 0.01697/0.04955, allocations: 5.114 MB / 258.7 MB, free: 15.5 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 -ignoreHideResult -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.6194302942603827]