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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.0007713, allocations: 91.42 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 174.3 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.105/1.105, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.000209, allocations: 13.91 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06799/0.06821, allocations: 50.42 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.001959/0.07019, allocations: 2.127 MB / 354.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.07119, allocations: 0.7134 MB / 355.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.07132, allocations: 4 kB / 355.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.607e-05/0.07142, allocations: 31.7 kB / 355.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.07162, allocations: 95.28 kB / 355.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.07189, allocations: 111.4 kB / 355.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.07224, allocations: 446.1 kB / 356 MB, free: 176 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.07239, allocations: 73.34 kB / 356.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.07258, allocations: 159.4 kB / 356.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.07278, allocations: 191.3 kB / 356.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.07283, allocations: 20 kB / 356.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.07287, allocations: 20 kB / 356.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.07294, allocations: 71.8 kB / 356.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.07308, allocations: 188.9 kB / 356.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.0733, allocations: 291.5 kB / 357 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.07331, allocations: 0 / 357 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.07332, allocations: 0 / 357 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.07333, allocations: 0 / 357 MB, free: 15.16 MB / 302.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.001234/0.07456, allocations: 0.663 MB / 357.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.0746, allocations: 8.031 kB / 357.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.07467, allocations: 36.56 kB / 357.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.07493, allocations: 283.3 kB / 358 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.07527, allocations: 140.2 kB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.07534, allocations: 24 kB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.07617, allocations: 415.1 kB / 358.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.07619, allocations: 7.906 kB / 358.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.07623, allocations: 15.98 kB / 358.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.07624, allocations: 4 kB / 358.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.07738, allocations: 463.5 kB / 359 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.07845, allocations: 0.9624 MB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/0.07943, allocations: 451.6 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.08003, allocations: 254.4 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.08005, allocations: 4 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.08008, allocations: 35 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.08009, allocations: 0 / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004325/0.08442, allocations: 2.519 MB / 363.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.08447, allocations: 110.8 kB / 363.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.08464, allocations: 203.2 kB / 363.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.08467, allocations: 37.64 kB / 363.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.08475, allocations: 148.6 kB / 363.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.08484, allocations: 134 kB / 363.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.08491, allocations: 41.69 kB / 363.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.085, allocations: 338.8 kB / 364.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.08528, allocations: 112.8 kB / 364.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.08557, allocations: 170.4 kB / 364.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.08615, allocations: 311.4 kB / 364.8 MB, free: 6.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08616, allocations: 0 / 364.8 MB, free: 6.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006968/0.08686, allocations: 380.2 kB / 365.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.08688, allocations: 8 kB / 365.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.08689, allocations: 0 / 365.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.08691, allocations: 4 kB / 365.2 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.08754, allocations: 171.9 kB / 365.4 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.08756, allocations: 4 kB / 365.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.08776, allocations: 27.98 kB / 365.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.08778, allocations: 15.94 kB / 365.4 MB, free: 6.176 MB / 302.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.0001247/0.08791, allocations: 153.6 kB / 365.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.088, allocations: 31.59 kB / 365.6 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.08806, allocations: 33.53 kB / 365.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.08807, allocations: 4 kB / 365.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.08808, allocations: 0 / 365.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.08809, allocations: 7.984 kB / 365.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.09015, allocations: 1.421 MB / 367.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.09016, allocations: 0 / 367.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.09096, allocations: 208 kB / 367.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.09097, allocations: 4 kB / 367.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.091, allocations: 11.94 kB / 367.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.09101, allocations: 4 kB / 367.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.09102, allocations: 7.938 kB / 367.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.09287, allocations: 1.05 MB / 368.3 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.09298, allocations: 128.8 kB / 368.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.09303, allocations: 11.94 kB / 368.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.09343, allocations: 63.95 kB / 368.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.09351, allocations: 39.94 kB / 368.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.09354, allocations: 15.98 kB / 368.6 MB, free: 2.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.672e-05/0.09364, allocations: 152.6 kB / 368.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.09365, allocations: 0 / 368.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.09403, allocations: 84 kB / 368.8 MB, free: 2.602 MB / 302.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 8.712e-05/0.09413, allocations: 115.1 kB / 368.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.09502, allocations: 403.5 kB / 369.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09503, allocations: 4 kB / 369.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.09566, allocations: 276 kB / 369.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.09632, allocations: 75.61 kB / 369.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.117/0.2133, allocations: 1.791 MB / 371.5 MB, free: 25.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2136, allocations: 0.7701 MB / 372.2 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2137, allocations: 33.62 kB / 372.3 MB, free: 24.34 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2137, allocations: 1.281 kB / 372.3 MB, free: 24.34 MB / 302.1 MB Notification: Performance of Templates: time 0.005211/0.2189, allocations: 3.799 MB / 376.1 MB, free: 24.18 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches