Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001847/0.001847, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002154/0.002154, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.488/1.488, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 47.92 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2834, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002882/0.2863, allocations: 1.491 MB / 425.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.2871, allocations: 379.1 kB / 425.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.2872, allocations: 4 kB / 425.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.2872, allocations: 7.922 kB / 425.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.2873, allocations: 7.938 kB / 425.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.2875, allocations: 31.91 kB / 425.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.2876, allocations: 31.92 kB / 425.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.2877, allocations: 4 kB / 425.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.2877, allocations: 19.92 kB / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.2878, allocations: 15.92 kB / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2878, allocations: 4 kB / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-06/0.2878, allocations: 0 / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.2878, allocations: 8 kB / 425.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.2879, allocations: 19.91 kB / 425.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.288, allocations: 30.8 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.288, allocations: 8 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.288, allocations: 3.938 kB / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.288, allocations: 0 / 425.9 MB, free: 12.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004705/0.2885, allocations: 285 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2885, allocations: 8.031 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.2885, allocations: 8.891 kB / 426.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2888, allocations: 118.5 kB / 426.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2888, allocations: 4.375 kB / 426.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.2888, allocations: 384 / 426.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.2892, allocations: 147.6 kB / 426.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2892, allocations: 3.938 kB / 426.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2892, allocations: 0 / 426.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2892, allocations: 0 / 426.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.2894, allocations: 35.97 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2896, allocations: 109.3 kB / 426.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.2898, allocations: 78.52 kB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.2899, allocations: 32.91 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.29, allocations: 0 / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.29, allocations: 30.56 kB / 426.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.29, allocations: 7.938 kB / 426.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003897/0.2904, allocations: 101.6 kB / 426.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.2904, allocations: 55.41 kB / 426.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.2905, allocations: 110 kB / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2905, allocations: 29.69 kB / 427 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.2906, allocations: 80.14 kB / 427.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.2906, allocations: 4 kB / 427.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.2906, allocations: 13.72 kB / 427.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2908, allocations: 318.8 kB / 427.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.2908, allocations: 11.92 kB / 427.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.2908, allocations: 27.38 kB / 427.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.2909, allocations: 35.44 kB / 427.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2909, allocations: 0 / 427.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.216e-05/0.291, allocations: 57.56 kB / 427.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.291, allocations: 12.12 kB / 427.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.291, allocations: 3.938 kB / 427.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.291, allocations: 0 / 427.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.2911, allocations: 8 kB / 427.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2911, allocations: 4.062 kB / 427.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.2911, allocations: 11.94 kB / 427.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2911, allocations: 4 kB / 427.6 MB, free: 10.51 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.414e-05/0.2912, allocations: 109.8 kB / 427.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.2914, allocations: 77.59 kB / 427.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.2914, allocations: 16.27 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2914, allocations: 0 / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.2914, allocations: 0 / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2914, allocations: 3.984 kB / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.835e-05/0.2915, allocations: 109.2 kB / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2915, allocations: 0 / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.2916, allocations: 11.98 kB / 427.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2916, allocations: 4 kB / 427.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2916, allocations: 0 / 427.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2916, allocations: 3.938 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2916, allocations: 4 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2919, allocations: 105 kB / 428 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.2919, allocations: 4 kB / 428 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2919, allocations: 3.984 kB / 428 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.891e-05/0.2919, allocations: 7.938 kB / 428 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-06/0.2919, allocations: 0 / 428 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.292, allocations: 4 kB / 428.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.589e-05/0.292, allocations: 87.27 kB / 428.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.292, allocations: 0 / 428.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001885/0.2922, allocations: 8 kB / 428.1 MB, free: 9.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001114/0.2923, allocations: 95.25 kB / 428.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.2925, allocations: 35.91 kB / 428.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2925, allocations: 7.875 kB / 428.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2925, allocations: 0 / 428.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.2928, allocations: 39.58 kB / 428.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.2931, allocations: 151.3 kB / 428.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.2932, allocations: 67.2 kB / 428.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2932, allocations: 11.44 kB / 428.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2932, allocations: 3.938 kB / 428.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of Templates: time 0.002212/0.2954, allocations: 0.6017 MB / 429.1 MB, free: 8.824 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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: 6.808644962031394]