Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001891/0.001891, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002093/0.002093, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2434, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00391/0.2473, allocations: 2.285 MB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2488, allocations: 0.7367 MB / 434.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2489, allocations: 7.938 kB / 434.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2491, allocations: 43.58 kB / 434.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.2493, allocations: 107.1 kB / 434.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.2497, allocations: 135.8 kB / 434.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.2503, allocations: 470.2 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2504, allocations: 57.09 kB / 435.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.2507, allocations: 191.4 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.2509, allocations: 187.3 kB / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.251, allocations: 40 kB / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.548e-05/0.2511, allocations: 36 kB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.2512, allocations: 83.8 kB / 436 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.2513, allocations: 155.4 kB / 436.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.2518, allocations: 416.8 kB / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2518, allocations: 0 / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2518, allocations: 0 / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2519, allocations: 0 / 436.5 MB, free: 1.586 MB / 334.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.001582/0.2534, allocations: 0.6221 MB / 437.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2535, allocations: 11.98 kB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.2536, allocations: 40.75 kB / 437.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.254, allocations: 209.9 kB / 437.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2541, allocations: 143.6 kB / 437.6 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.2542, allocations: 27.98 kB / 437.6 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.2552, allocations: 378.4 kB / 438 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.2552, allocations: 4 kB / 438 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.2552, allocations: 8 kB / 438 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2552, allocations: 8 kB / 438 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2565, allocations: 395.1 kB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.2579, allocations: 0.8098 MB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.259, allocations: 391.6 kB / 439.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.2597, allocations: 210.4 kB / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2597, allocations: 4 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2597, allocations: 42.5 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.2597, allocations: 0 / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005057/0.2648, allocations: 1.878 MB / 441.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.2649, allocations: 106.9 kB / 441.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2651, allocations: 190.9 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.2651, allocations: 29.7 kB / 442 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2652, allocations: 160.7 kB / 442.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.2653, allocations: 146.7 kB / 442.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.2655, allocations: 70.12 kB / 442.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.2657, allocations: 338.8 kB / 442.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.266, allocations: 104.8 kB / 442.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.2664, allocations: 173.4 kB / 443 MB, free: 10.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.2671, allocations: 292.3 kB / 443.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2671, allocations: 7.938 kB / 443.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008607/0.2679, allocations: 359.4 kB / 443.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.268, allocations: 11.94 kB / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.268, allocations: 0 / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.268, allocations: 7.938 kB / 443.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.2687, allocations: 151.8 kB / 443.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2687, allocations: 4 kB / 443.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.269, allocations: 27.97 kB / 443.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.269, allocations: 16 kB / 443.8 MB, free: 9.871 MB / 350.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.0001657/0.2692, allocations: 141.8 kB / 444 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.2693, allocations: 31.75 kB / 444 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.2694, allocations: 33.45 kB / 444 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.2694, allocations: 8 kB / 444 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.2694, allocations: 4 kB / 444 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2694, allocations: 0 / 444 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.2719, allocations: 1.186 MB / 445.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.2719, allocations: 7.984 kB / 445.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008859/0.2728, allocations: 168 kB / 445.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2728, allocations: 0 / 445.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.2728, allocations: 23.98 kB / 445.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.2729, allocations: 4 kB / 445.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2729, allocations: 7.938 kB / 445.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.275, allocations: 0.9452 MB / 446.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2751, allocations: 51.88 kB / 446.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.2752, allocations: 8 kB / 446.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.2756, allocations: 52.03 kB / 446.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2757, allocations: 51.69 kB / 446.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.2757, allocations: 19.98 kB / 446.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2759, allocations: 131.3 kB / 446.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2759, allocations: 0 / 446.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.2763, allocations: 84 kB / 446.8 MB, free: 6.801 MB / 350.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.0001415/0.2765, allocations: 111.2 kB / 446.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2775, allocations: 351.7 kB / 447.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2775, allocations: 4 kB / 447.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.2782, allocations: 236 kB / 447.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.2789, allocations: 72.33 kB / 447.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.2842, allocations: 1.429 MB / 449 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.2844, allocations: 163.9 kB / 449.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.2845, allocations: 42.95 kB / 449.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2847, allocations: 35.42 kB / 449.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2847, allocations: 0 / 449.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of Templates: time 0.009981/0.2946, allocations: 4.814 MB / 454 MB, free: 15.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.651630476117134]