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.001793/0.001793, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002121/0.002121, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.481/1.481, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.002197/0.002197, allocations: 59.84 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2657, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003944/0.2696, allocations: 2.293 MB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2712, allocations: 0.7445 MB / 435.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2713, allocations: 7.938 kB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.2715, allocations: 39.58 kB / 435.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.2717, allocations: 107.1 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.2721, allocations: 127.8 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.2726, allocations: 470.2 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.2728, allocations: 64.03 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.273, allocations: 187.5 kB / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.2733, allocations: 187.2 kB / 436.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.2734, allocations: 36 kB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.471e-05/0.2734, allocations: 40 kB / 436.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.2735, allocations: 83.73 kB / 436.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.2737, allocations: 155.4 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.2742, allocations: 418.2 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2742, allocations: 0 / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2742, allocations: 0 / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.2742, allocations: 0 / 437.3 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.001577/0.2758, allocations: 0.6182 MB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2758, allocations: 11.98 kB / 437.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.2759, allocations: 40.75 kB / 438 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.2763, allocations: 210 kB / 438.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.2765, allocations: 139.6 kB / 438.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.2766, allocations: 27.98 kB / 438.3 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.2775, allocations: 382.4 kB / 438.7 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.2775, allocations: 4 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.2776, allocations: 12 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2776, allocations: 7.938 kB / 438.7 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2788, allocations: 391.5 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.2802, allocations: 0.8098 MB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2813, allocations: 391.5 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.2819, allocations: 210.4 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.282, allocations: 4 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.282, allocations: 46.48 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.282, allocations: 0 / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.004795/0.2868, allocations: 1.87 MB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.2869, allocations: 106.8 kB / 442.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.2871, allocations: 191 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.2871, allocations: 29.7 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.2873, allocations: 152.7 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2874, allocations: 151 kB / 443 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.2875, allocations: 70.12 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.2877, allocations: 338.8 kB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.2881, allocations: 120.7 kB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.2884, allocations: 165.5 kB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.2891, allocations: 295.5 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2891, allocations: 0 / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008484/0.29, allocations: 364 kB / 444.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.29, allocations: 7.938 kB / 444.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.29, allocations: 4 kB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.29, allocations: 0 / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.2907, allocations: 147.9 kB / 444.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.2907, allocations: 11.92 kB / 444.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.291, allocations: 23.98 kB / 444.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.291, allocations: 19.94 kB / 444.6 MB, free: 9.875 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.0001701/0.2912, allocations: 141.8 kB / 444.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.2912, allocations: 31.75 kB / 444.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.275e-05/0.2913, allocations: 33.45 kB / 444.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.2913, allocations: 11.98 kB / 444.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2913, allocations: 0 / 444.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2913, allocations: 0 / 444.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.2937, allocations: 1.198 MB / 446 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2937, allocations: 0 / 446 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/0.2946, allocations: 175.9 kB / 446.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.2946, allocations: 4 kB / 446.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.2946, allocations: 11.98 kB / 446.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2946, allocations: 4 kB / 446.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.2946, allocations: 7.938 kB / 446.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.2967, allocations: 0.9452 MB / 447.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2968, allocations: 51.88 kB / 447.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.2969, allocations: 12 kB / 447.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.2973, allocations: 47.94 kB / 447.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2974, allocations: 47.81 kB / 447.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.2974, allocations: 15.98 kB / 447.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.2976, allocations: 139.3 kB / 447.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2976, allocations: 0 / 447.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.298, allocations: 80 kB / 447.5 MB, free: 6.805 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.0001577/0.2982, allocations: 103.3 kB / 447.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2993, allocations: 363.6 kB / 448 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2993, allocations: 4 kB / 448 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006861/0.3, allocations: 239.6 kB / 448.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.3007, allocations: 78.16 kB / 448.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.3058, allocations: 1.462 MB / 449.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.306, allocations: 159.9 kB / 449.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3061, allocations: 35.36 kB / 449.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3061, allocations: 0 / 449.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of Templates: time 0.006688/0.3128, allocations: 4.005 MB / 454 MB, free: 324 kB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/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: 7.387128547765315]