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.0009067/0.0009067, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002358, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008035/0.0008035, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001974, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9748/0.9748, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1585/1.133, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.044e-06/2.044e-06, allocations: 0 / 222 MB, free: 88 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.034e-05, allocations: 5.406 kB / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004349/0.00438, allocations: 2.489 MB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.006068, allocations: 0.7841 MB / 225.3 MB, free: 12.78 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.006221, allocations: 7.938 kB / 225.3 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.006343, allocations: 47.52 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.006599, allocations: 115 kB / 225.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.006965, allocations: 135.6 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.007465, allocations: 474 kB / 226 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.007628, allocations: 63.05 kB / 226.1 MB, free: 11.95 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.008075, allocations: 295.3 kB / 226.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.008344, allocations: 167.6 kB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-05/0.008417, allocations: 40 kB / 226.6 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.008489, allocations: 36 kB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.008558, allocations: 63.81 kB / 226.7 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.008683, allocations: 99.88 kB / 226.8 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.009042, allocations: 271 kB / 227 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.009055, allocations: 0 / 227 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.009056, allocations: 0 / 227 MB, free: 11 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.009071, allocations: 0 / 227 MB, free: 11 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.001196/0.01027, allocations: 0.6166 MB / 227.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.0103, allocations: 8.031 kB / 227.6 MB, free: 10.35 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.01041, allocations: 44.91 kB / 227.7 MB, free: 10.31 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.01073, allocations: 189.2 kB / 227.9 MB, free: 10.1 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.01087, allocations: 135.9 kB / 228 MB, free: 9.941 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.01093, allocations: 28.36 kB / 228 MB, free: 9.914 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.01144, allocations: 283.2 kB / 228.3 MB, free: 9.617 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.01146, allocations: 3.953 kB / 228.3 MB, free: 9.613 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.0115, allocations: 15.98 kB / 228.3 MB, free: 9.598 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.01151, allocations: 4 kB / 228.3 MB, free: 9.594 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.01181, allocations: 123.8 kB / 228.5 MB, free: 9.473 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.01289, allocations: 0.6133 MB / 229.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.01324, allocations: 191.7 kB / 229.3 MB, free: 8.621 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.01338, allocations: 90.53 kB / 229.3 MB, free: 8.523 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.01341, allocations: 11.94 kB / 229.4 MB, free: 8.512 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.01344, allocations: 35 kB / 229.4 MB, free: 8.469 MB / 234.7 MB Notification: Performance of pre-optimization done (n=32): time 2.155e-06/0.01345, allocations: 4 kB / 229.4 MB, free: 8.465 MB / 234.7 MB Notification: Performance of matching and sorting (n=38): time 0.001962/0.01541, allocations: 1.187 MB / 230.6 MB, free: 7.125 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.01545, allocations: 106.8 kB / 230.7 MB, free: 6.996 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.01556, allocations: 186.2 kB / 230.9 MB, free: 6.801 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01559, allocations: 33.7 kB / 230.9 MB, free: 6.762 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.01565, allocations: 136.7 kB / 231 MB, free: 6.625 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.01573, allocations: 150.7 kB / 231.2 MB, free: 6.477 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.01581, allocations: 78.14 kB / 231.3 MB, free: 6.395 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.0159, allocations: 334.8 kB / 231.6 MB, free: 6.059 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.01599, allocations: 52.97 kB / 231.6 MB, free: 6.004 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.01607, allocations: 94.03 kB / 231.7 MB, free: 5.898 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.01621, allocations: 157.2 kB / 231.9 MB, free: 5.73 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01621, allocations: 0 / 231.9 MB, free: 5.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001894/0.0164, allocations: 194.9 kB / 232.1 MB, free: 5.535 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01641, allocations: 8 kB / 232.1 MB, free: 5.527 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01642, allocations: 0 / 232.1 MB, free: 5.527 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01643, allocations: 4 kB / 232.1 MB, free: 5.523 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.01679, allocations: 147.7 kB / 232.2 MB, free: 5.379 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.0168, allocations: 12.03 kB / 232.2 MB, free: 5.367 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.01689, allocations: 23.98 kB / 232.3 MB, free: 5.344 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.0169, allocations: 8 kB / 232.3 MB, free: 5.336 MB / 234.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.843e-05/0.01699, allocations: 129.8 kB / 232.4 MB, free: 5.199 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.01705, allocations: 27.98 kB / 232.4 MB, free: 5.172 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.01709, allocations: 29.45 kB / 232.5 MB, free: 5.148 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.01709, allocations: 4 kB / 232.5 MB, free: 5.145 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.0171, allocations: 7.938 kB / 232.5 MB, free: 5.137 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.0171, allocations: 4 kB / 232.5 MB, free: 5.133 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.01789, allocations: 0.8 MB / 233.3 MB, free: 4.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.0179, allocations: 0 / 233.3 MB, free: 4.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.01829, allocations: 167.9 kB / 233.4 MB, free: 4.105 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.01836, allocations: 27.84 kB / 233.5 MB, free: 4.078 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.01836, allocations: 4 kB / 233.5 MB, free: 4.074 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.01838, allocations: 11.98 kB / 233.5 MB, free: 4.062 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01839, allocations: 4 kB / 233.5 MB, free: 4.059 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01839, allocations: 4 kB / 233.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.01882, allocations: 0.5693 MB / 234.1 MB, free: 3.449 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01884, allocations: 8 kB / 234.1 MB, free: 3.441 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.01902, allocations: 40.03 kB / 234.1 MB, free: 3.402 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.01909, allocations: 47.86 kB / 234.1 MB, free: 3.355 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.0191, allocations: 11.94 kB / 234.2 MB, free: 3.344 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.757e-05/0.01915, allocations: 58.11 kB / 234.2 MB, free: 3.285 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01915, allocations: 0 / 234.2 MB, free: 3.285 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.0194, allocations: 84 kB / 234.3 MB, free: 3.203 MB / 234.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 9.971e-05/0.0195, allocations: 86.84 kB / 234.4 MB, free: 3.109 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.0197, allocations: 179.8 kB / 234.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.01971, allocations: 12 kB / 234.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.01986, allocations: 144.5 kB / 234.7 MB, free: 2.781 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.02042, allocations: 0.7123 MB / 235.4 MB, free: 1.926 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.02505, allocations: 1.01 MB / 236.4 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.791e-05/0.02511, allocations: 93.12 kB / 236.5 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 9.845e-05/0.02521, allocations: 42.94 kB / 236.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.02539, allocations: 115.3 kB / 236.7 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02539, allocations: 0 / 236.7 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of Templates: time 0.006228/0.03162, allocations: 5.014 MB / 241.7 MB, free: 11.59 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.737170963548124]