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.001456/0.001456, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001583/0.001583, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.405/1.405, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 47.16 kB / 300.6 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09879, allocations: 49.45 MB / 350 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003574/0.1024, allocations: 2.433 MB / 352.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1037, allocations: 0.7367 MB / 353.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.104, allocations: 4 kB / 353.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.1042, allocations: 47.52 kB / 353.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1044, allocations: 107.1 kB / 353.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.1048, allocations: 126.8 kB / 353.5 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.1053, allocations: 470.1 kB / 354 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.1055, allocations: 80.92 kB / 354 MB, free: 432 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.1057, allocations: 187.4 kB / 354.2 MB, free: 244 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.106, allocations: 207.3 kB / 354.4 MB, free: 36 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/0.1061, allocations: 40.05 kB / 354.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.1061, allocations: 36 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.1062, allocations: 79.75 kB / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.1064, allocations: 179.2 kB / 354.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.1067, allocations: 418.8 kB / 355.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1067, allocations: 0 / 355.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1067, allocations: 0 / 355.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1067, allocations: 0 / 355.2 MB, free: 15.3 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.001541/0.1083, allocations: 0.6784 MB / 355.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1083, allocations: 8.031 kB / 355.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.1084, allocations: 32.66 kB / 355.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1087, allocations: 279.3 kB / 356.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.1091, allocations: 136.2 kB / 356.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.1092, allocations: 27.91 kB / 356.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.1101, allocations: 375.2 kB / 356.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1101, allocations: 8 kB / 356.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.1102, allocations: 12 kB / 356.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.1102, allocations: 8 kB / 356.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1114, allocations: 390.9 kB / 357.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1127, allocations: 0.9585 MB / 358 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1138, allocations: 403.5 kB / 358.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.1144, allocations: 226.4 kB / 358.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1144, allocations: 4 kB / 358.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1145, allocations: 34.56 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.1145, allocations: 4 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004784/0.1192, allocations: 2.323 MB / 361 MB, free: 8.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1193, allocations: 114.7 kB / 361.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.1196, allocations: 203.2 kB / 361.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1196, allocations: 29.7 kB / 361.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.1197, allocations: 152.6 kB / 361.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1198, allocations: 137.9 kB / 361.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.12, allocations: 74.12 kB / 361.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1201, allocations: 338.8 kB / 362 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.1204, allocations: 104.8 kB / 362.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.1208, allocations: 165.5 kB / 362.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.1214, allocations: 291.8 kB / 362.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1214, allocations: 0 / 362.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008155/0.1223, allocations: 376.9 kB / 363 MB, free: 6.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1223, allocations: 4 kB / 363 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1223, allocations: 4 kB / 363 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1223, allocations: 0 / 363 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.123, allocations: 147.9 kB / 363.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.123, allocations: 4 kB / 363.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.1233, allocations: 31.98 kB / 363.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1233, allocations: 8 kB / 363.2 MB, free: 6.711 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.0001487/0.1235, allocations: 153.7 kB / 363.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1236, allocations: 31.64 kB / 363.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.1236, allocations: 33.47 kB / 363.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1236, allocations: 4 kB / 363.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1237, allocations: 3.938 kB / 363.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1237, allocations: 7.984 kB / 363.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.126, allocations: 1.339 MB / 364.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.126, allocations: 0 / 364.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/0.1268, allocations: 176 kB / 364.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1269, allocations: 4 kB / 364.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.1269, allocations: 11.94 kB / 364.9 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1269, allocations: 4.094 kB / 364.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1269, allocations: 11.88 kB / 364.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.1289, allocations: 0.9445 MB / 365.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.129, allocations: 132.7 kB / 366 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.1291, allocations: 15.94 kB / 366 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.1295, allocations: 43.95 kB / 366.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1296, allocations: 39.94 kB / 366.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1297, allocations: 12 kB / 366.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1298, allocations: 152.6 kB / 366.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 0 / 366.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004584/0.1303, allocations: 84 kB / 366.3 MB, free: 3.363 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 0.0001298/0.1304, allocations: 118 kB / 366.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.1314, allocations: 387.3 kB / 366.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1315, allocations: 4 kB / 366.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.1321, allocations: 252 kB / 367.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000789/0.1329, allocations: 68.44 kB / 367.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.138, allocations: 1.432 MB / 368.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1383, allocations: 0.772 MB / 369.4 MB, free: 276 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.1386, allocations: 38.95 kB / 369.4 MB, free: 236 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1387, allocations: 35.42 kB / 369.4 MB, free: 200 kB / 302.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1387, allocations: 192 / 369.4 MB, free: 200 kB / 302.1 MB Notification: Performance of Templates: time 0.1662/0.3049, allocations: 4.265 MB / 373.7 MB, free: 25.74 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","/var/lib/jenkins/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