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.001664/0.001664, allocations: 113 kB / 19.04 MB, free: 3.254 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.001882/0.001882, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.513/1.513, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.001568/0.001568, allocations: 43.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2502, allocations: 52.13 MB / 420.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.006361/0.2566, allocations: 2.47 MB / 423.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.2589, allocations: 0.7561 MB / 424.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2591, allocations: 4 kB / 424.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.2593, allocations: 39.53 kB / 424.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.2597, allocations: 103.1 kB / 424.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.2603, allocations: 135.8 kB / 424.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008168/0.2611, allocations: 462.2 kB / 424.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.2614, allocations: 64.94 kB / 424.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.2617, allocations: 183.4 kB / 425 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.2621, allocations: 211.2 kB / 425.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.02e-05/0.2622, allocations: 36 kB / 425.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2623, allocations: 40 kB / 425.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.2625, allocations: 79.78 kB / 425.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.2628, allocations: 183.2 kB / 425.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.2635, allocations: 412 kB / 426 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2635, allocations: 3.938 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2635, allocations: 7.938 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.2635, allocations: 0 / 426 MB, free: 10.09 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.00256/0.266, allocations: 0.682 MB / 426.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2661, allocations: 12.02 kB / 426.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.2662, allocations: 40.75 kB / 426.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.2669, allocations: 275.7 kB / 427 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.2671, allocations: 84.27 kB / 427.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2672, allocations: 28 kB / 427.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.2687, allocations: 375.2 kB / 427.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/0.2688, allocations: 7.953 kB / 427.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.2688, allocations: 8 kB / 427.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.2689, allocations: 11.94 kB / 427.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.2711, allocations: 391.6 kB / 427.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.2734, allocations: 0.9702 MB / 428.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.2753, allocations: 391.5 kB / 429.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.2765, allocations: 214.9 kB / 429.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.2765, allocations: 7.938 kB / 429.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.2766, allocations: 38.5 kB / 429.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.005e-06/0.2766, allocations: 0 / 429.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.008798/0.2854, allocations: 2.323 MB / 431.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.2855, allocations: 114.7 kB / 431.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.2859, allocations: 199.2 kB / 432.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.2859, allocations: 37.7 kB / 432.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2861, allocations: 152.8 kB / 432.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.2863, allocations: 138.8 kB / 432.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.2865, allocations: 70.12 kB / 432.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.2868, allocations: 346.8 kB / 432.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.2874, allocations: 104.8 kB / 433 MB, free: 2.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/0.288, allocations: 161.5 kB / 433.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.2893, allocations: 292 kB / 433.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.2893, allocations: 4 kB / 433.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001588/0.2909, allocations: 377.1 kB / 433.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.2909, allocations: 7.125 kB / 433.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2909, allocations: 0.9375 kB / 433.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.2909, allocations: 4 kB / 433.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.2923, allocations: 147.8 kB / 433.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.2923, allocations: 4 kB / 433.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.2927, allocations: 27.98 kB / 434 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.2927, allocations: 16 kB / 434 MB, free: 1.535 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.0002545/0.293, allocations: 145.8 kB / 434.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.2932, allocations: 31.8 kB / 434.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2933, allocations: 33.53 kB / 434.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.2933, allocations: 4 kB / 434.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2933, allocations: 3.938 kB / 434.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2933, allocations: 3.984 kB / 434.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.2979, allocations: 1.339 MB / 435.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.2979, allocations: 4 kB / 435.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.2996, allocations: 168 kB / 435.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.2996, allocations: 4 kB / 435.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.2997, allocations: 19.94 kB / 435.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.2997, allocations: 4 kB / 435.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2997, allocations: 0 / 435.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.302, allocations: 0.9492 MB / 436.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3021, allocations: 129 kB / 436.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.3022, allocations: 19.94 kB / 436.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.3026, allocations: 43.95 kB / 436.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3027, allocations: 43.88 kB / 436.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3028, allocations: 12 kB / 436.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3029, allocations: 152.6 kB / 437.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3029, allocations: 4 kB / 437.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.3034, allocations: 80 kB / 437.1 MB, free: 14.2 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.0001453/0.3035, allocations: 123.1 kB / 437.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3046, allocations: 347.5 kB / 437.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3046, allocations: 192 / 437.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.3053, allocations: 240 kB / 437.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.306, allocations: 87.09 kB / 437.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.311, allocations: 1.443 MB / 439.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.3115, allocations: 0.7643 MB / 440.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.3117, allocations: 46.94 kB / 440.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3118, allocations: 35.42 kB / 440.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3118, allocations: 0 / 440.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Templates: time 0.009557/0.3213, allocations: 4.5 MB / 444.7 MB, free: 6.578 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5696829203516245]