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.001778/0.001778, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002168/0.002168, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.556/1.556, allocations: 230.3 MB / 258 MB, free: 8.223 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.001928/0.001928, allocations: 59.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2347, allocations: 53.37 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004044/0.2388, allocations: 2.46 MB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.2403, allocations: 0.7873 MB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2404, allocations: 7.938 kB / 435.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2406, allocations: 39.59 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.2408, allocations: 111.1 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.2411, allocations: 131.7 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.2416, allocations: 470.2 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.2418, allocations: 61.09 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.2421, allocations: 187.5 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.2424, allocations: 211.2 kB / 436.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.2425, allocations: 39.98 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.2426, allocations: 36 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2427, allocations: 87.75 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.2429, allocations: 183.2 kB / 436.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.2433, allocations: 408.2 kB / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2434, allocations: 0 / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2434, allocations: 0 / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2434, allocations: 0 / 437.3 MB, free: 1.867 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.001719/0.2451, allocations: 0.6221 MB / 437.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2451, allocations: 8.031 kB / 437.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.19e-05/0.2452, allocations: 36.75 kB / 438 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.2457, allocations: 214 kB / 438.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.2458, allocations: 84.2 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.2459, allocations: 28 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.2469, allocations: 378.4 kB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2469, allocations: 0 / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.247, allocations: 12 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.247, allocations: 8 kB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2483, allocations: 395.5 kB / 439.1 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.2498, allocations: 0.9341 MB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.2509, allocations: 387.6 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.2516, allocations: 222.3 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2516, allocations: 3.984 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.2517, allocations: 50.5 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.2517, allocations: 0 / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005165/0.2568, allocations: 1.873 MB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.2569, allocations: 110.8 kB / 442.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.2571, allocations: 203.2 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.2572, allocations: 29.7 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.2573, allocations: 148.8 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.2574, allocations: 154.7 kB / 443.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.2576, allocations: 74.08 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2577, allocations: 338.8 kB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.2581, allocations: 112.8 kB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.2585, allocations: 165.5 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/0.2592, allocations: 283.8 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2592, allocations: 4 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009099/0.2601, allocations: 379.6 kB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2601, allocations: 8 kB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2601, allocations: 0 / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2601, allocations: 4 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/0.2609, allocations: 151.8 kB / 444.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2609, allocations: 4 kB / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.2612, allocations: 24.92 kB / 444.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.2612, allocations: 12 kB / 444.7 MB, free: 10.07 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.0001634/0.2614, allocations: 141.8 kB / 444.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2615, allocations: 39.73 kB / 444.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.2615, allocations: 29.47 kB / 444.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2615, allocations: 8 kB / 444.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2615, allocations: 4 kB / 444.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2616, allocations: 3.984 kB / 444.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.2641, allocations: 1.294 MB / 446.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2641, allocations: 0 / 446.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009363/0.2651, allocations: 168 kB / 446.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.2651, allocations: 7.984 kB / 446.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.2651, allocations: 15.94 kB / 446.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.2651, allocations: 4 kB / 446.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2651, allocations: 4 kB / 446.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.2674, allocations: 0.956 MB / 447.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.2675, allocations: 55.83 kB / 447.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.2676, allocations: 15.92 kB / 447.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.2681, allocations: 39.95 kB / 447.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.2682, allocations: 47.88 kB / 447.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.2682, allocations: 19.92 kB / 447.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.2683, allocations: 148.6 kB / 447.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2683, allocations: 0 / 447.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.2688, allocations: 84 kB / 447.7 MB, free: 6.859 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.0001492/0.269, allocations: 105.5 kB / 447.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.2701, allocations: 359.8 kB / 448.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2701, allocations: 0 / 448.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.2708, allocations: 240.9 kB / 448.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.2715, allocations: 88.48 kB / 448.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.277, allocations: 1.437 MB / 449.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.2774, allocations: 0.7643 MB / 450.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.2776, allocations: 46.94 kB / 450.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.2777, allocations: 31.42 kB / 450.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2777, allocations: 0 / 450.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of Templates: time 0.009527/0.2873, allocations: 4.582 MB / 455.4 MB, free: 15.17 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.6397764552384615]