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.001224/0.001224, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.001499/0.001499, allocations: 182 kB / 17.2 MB, free: 5.906 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.287/1.287, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002405, allocations: 7.734 kB / 300.7 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09165, allocations: 50.42 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002165/0.09386, allocations: 1.917 MB / 353.1 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.09495, allocations: 0.7177 MB / 353.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.09507, allocations: 7.938 kB / 353.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.09513, allocations: 27.77 kB / 353.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.09537, allocations: 123.7 kB / 353.9 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.09565, allocations: 95.81 kB / 354 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.09599, allocations: 295.3 kB / 354.3 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.09615, allocations: 74 kB / 354.4 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.09634, allocations: 155.6 kB / 354.5 MB, free: 8.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.09654, allocations: 187.4 kB / 354.7 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.09659, allocations: 20 kB / 354.7 MB, free: 8.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.09666, allocations: 20 kB / 354.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.09672, allocations: 71.72 kB / 354.8 MB, free: 7.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.09679, allocations: 77.58 kB / 354.9 MB, free: 7.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.09705, allocations: 291.1 kB / 355.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.09706, allocations: 0 / 355.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09707, allocations: 0 / 355.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.09708, allocations: 0 / 355.2 MB, free: 7.625 MB / 286.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.001442/0.09852, allocations: 0.6667 MB / 355.9 MB, free: 6.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.09857, allocations: 8.031 kB / 355.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.09865, allocations: 43.58 kB / 355.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.09896, allocations: 262.4 kB / 356.2 MB, free: 6.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.09933, allocations: 135.8 kB / 356.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.0994, allocations: 28 kB / 356.3 MB, free: 6.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.1003, allocations: 407.9 kB / 356.7 MB, free: 5.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1003, allocations: 11.91 kB / 356.7 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.1004, allocations: 7.953 kB / 356.7 MB, free: 5.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1004, allocations: 8 kB / 356.7 MB, free: 5.953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1017, allocations: 460.7 kB / 357.2 MB, free: 5.504 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1029, allocations: 0.9709 MB / 358.2 MB, free: 4.473 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.104, allocations: 451.7 kB / 358.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.104, allocations: 7.953 kB / 358.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1041, allocations: 42.56 kB / 358.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.1041, allocations: 0 / 358.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004961/0.109, allocations: 2.504 MB / 361.2 MB, free: 1.176 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1091, allocations: 106.8 kB / 361.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1093, allocations: 207.2 kB / 361.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.1094, allocations: 30.08 kB / 361.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.1095, allocations: 148.6 kB / 361.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.834e-05/0.1096, allocations: 141.9 kB / 361.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.1096, allocations: 8 kB / 361.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1097, allocations: 342.8 kB / 362.1 MB, free: 160 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.11, allocations: 116.8 kB / 362.2 MB, free: 44 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.1104, allocations: 165.5 kB / 362.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.1108, allocations: 138.4 kB / 362.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1108, allocations: 0 / 362.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007921/0.1116, allocations: 380.9 kB / 362.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1116, allocations: 4 kB / 362.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1116, allocations: 0 / 362.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1116, allocations: 8 kB / 362.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.1124, allocations: 171.9 kB / 363.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1124, allocations: 7.984 kB / 363.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1126, allocations: 23.98 kB / 363.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1126, allocations: 12 kB / 363.1 MB, free: 15.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.1128, allocations: 153.7 kB / 363.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.1129, allocations: 27.72 kB / 363.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/0.1129, allocations: 33.52 kB / 363.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.113, allocations: 4 kB / 363.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.113, allocations: 4 kB / 363.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.113, allocations: 7.922 kB / 363.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.1154, allocations: 1.397 MB / 364.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.1154, allocations: 8.125 kB / 364.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/0.1163, allocations: 203.8 kB / 365 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.1163, allocations: 8 kB / 365 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.1164, allocations: 11.98 kB / 365 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.1164, allocations: 7.938 kB / 365 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1164, allocations: 4 kB / 365 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.1186, allocations: 1.129 MB / 366.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1187, allocations: 132.7 kB / 366.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.1188, allocations: 12 kB / 366.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.1192, allocations: 59.95 kB / 366.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.1193, allocations: 47.88 kB / 366.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.1194, allocations: 19.98 kB / 366.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1195, allocations: 152.6 kB / 366.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.1196, allocations: 0 / 366.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004554/0.12, allocations: 88.03 kB / 366.6 MB, free: 11.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.1202, allocations: 107.1 kB / 366.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.1212, allocations: 406.4 kB / 367.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1213, allocations: 0 / 367.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006957/0.122, allocations: 284 kB / 367.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.1225, allocations: 53.62 kB / 367.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.1277, allocations: 1.741 MB / 369.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1281, allocations: 0.7763 MB / 370 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.1283, allocations: 42.97 kB / 370 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1285, allocations: 31.42 kB / 370 MB, free: 7.914 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1285, allocations: 0 / 370 MB, free: 7.914 MB / 302.1 MB Notification: Performance of Templates: time 0.006906/0.1354, allocations: 3.703 MB / 373.7 MB, free: 4.242 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches