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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2446, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00392/0.2485, allocations: 2.451 MB / 426.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2499, allocations: 0.7562 MB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.2501, allocations: 4 kB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2502, allocations: 47.47 kB / 427.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.2505, allocations: 107.1 kB / 427.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.2509, allocations: 127.8 kB / 427.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.2514, allocations: 462.2 kB / 427.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2516, allocations: 69.11 kB / 427.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.2518, allocations: 195.4 kB / 428.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.2521, allocations: 203.3 kB / 428.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.2521, allocations: 36 kB / 428.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.2522, allocations: 40 kB / 428.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.2523, allocations: 87.72 kB / 428.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.2525, allocations: 179.2 kB / 428.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.253, allocations: 411.7 kB / 429 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.253, allocations: 4 kB / 429 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.253, allocations: 4 kB / 429 MB, free: 9.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.253, allocations: 3.984 kB / 429 MB, free: 9.508 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.001545/0.2545, allocations: 0.6104 MB / 429.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2546, allocations: 16.03 kB / 429.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.2546, allocations: 32.75 kB / 429.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.2551, allocations: 214.9 kB / 429.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.2552, allocations: 135.6 kB / 430 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.2553, allocations: 32 kB / 430.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.2562, allocations: 378.4 kB / 430.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2562, allocations: 3.953 kB / 430.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.2563, allocations: 12 kB / 430.4 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2563, allocations: 4 kB / 430.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2575, allocations: 395.5 kB / 430.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.2589, allocations: 0.9303 MB / 431.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.26, allocations: 391.6 kB / 432.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.2606, allocations: 214.4 kB / 432.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2606, allocations: 4 kB / 432.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2607, allocations: 38.56 kB / 432.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.2607, allocations: 0 / 432.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004658/0.2653, allocations: 1.883 MB / 434.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.2654, allocations: 106.8 kB / 434.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.2656, allocations: 207.2 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.2657, allocations: 29.7 kB / 434.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2658, allocations: 148.8 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.2659, allocations: 150.7 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.266, allocations: 70.11 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2662, allocations: 342.8 kB / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.2665, allocations: 104.8 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.2669, allocations: 165.5 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.2676, allocations: 299.2 kB / 435.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2676, allocations: 0 / 435.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008116/0.2684, allocations: 380.6 kB / 436.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2684, allocations: 4 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2684, allocations: 4 kB / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2684, allocations: 3.938 kB / 436.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.2691, allocations: 148.8 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2691, allocations: 4 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.2694, allocations: 27.98 kB / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.2694, allocations: 12 kB / 436.4 MB, free: 1.652 MB / 334.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.0001619/0.2695, allocations: 149.7 kB / 436.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.2696, allocations: 27.8 kB / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.2697, allocations: 33.47 kB / 436.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2697, allocations: 4 kB / 436.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2697, allocations: 3.984 kB / 436.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2697, allocations: 0 / 436.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.2721, allocations: 1.303 MB / 438 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2721, allocations: 8.188 kB / 438 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/0.2729, allocations: 171.8 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.273, allocations: 8 kB / 438.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.273, allocations: 15.94 kB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.273, allocations: 4 kB / 438.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.273, allocations: 3.938 kB / 438.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.275, allocations: 0.9446 MB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.2752, allocations: 59.86 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.2752, allocations: 15.94 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.2756, allocations: 39.95 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.2757, allocations: 39.92 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.2758, allocations: 16 kB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.2759, allocations: 156.6 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2759, allocations: 0 / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.2764, allocations: 87.94 kB / 439.5 MB, free: 14.44 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.0001537/0.2765, allocations: 114.4 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2775, allocations: 352.5 kB / 440 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2775, allocations: 8.188 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006729/0.2782, allocations: 231.7 kB / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.2789, allocations: 81.14 kB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.2839, allocations: 1.47 MB / 441.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.2844, allocations: 0.7721 MB / 442.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2845, allocations: 31.44 kB / 442.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2845, allocations: 0 / 442.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Templates: time 0.006564/0.2911, allocations: 3.933 MB / 446.5 MB, free: 7.391 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.212688161991537]