Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.352e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002418/0.002442, allocations: 1.537 MB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006884/0.00313, allocations: 434.8 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.003203, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.003233, allocations: 7.875 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.003309, allocations: 7.938 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.003538, allocations: 23.97 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.003624, allocations: 35.86 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003726, allocations: 11.98 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.003811, allocations: 27.84 kB / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.00386, allocations: 11.98 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.003883, allocations: 4 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.003891, allocations: 0 / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.00391, allocations: 8 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.003936, allocations: 11.94 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.274e-05/0.004029, allocations: 27.89 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004031, allocations: 0 / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.004036, allocations: 0 / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.862e-06/0.004042, allocations: 4 kB / 275.5 MB, free: 15.12 MB / 266.7 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.0003662/0.004408, allocations: 368.6 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.004453, allocations: 16.03 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.004485, allocations: 12.83 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.00462, allocations: 124.5 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.004848, allocations: 8.375 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.004856, allocations: 4.375 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.005105, allocations: 110.2 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.005114, allocations: 192 / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.005123, allocations: 4.375 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005131, allocations: 3.938 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.005155, allocations: 4 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.005275, allocations: 97.25 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.617e-05/0.005341, allocations: 47.02 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.005364, allocations: 19.67 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.005384, allocations: 4 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.005406, allocations: 33.39 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005407, allocations: 0 / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000125/0.005532, allocations: 49.73 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.005576, allocations: 55.34 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.005653, allocations: 169.8 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.005668, allocations: 29.7 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.005712, allocations: 138.8 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.005714, allocations: 0 / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.005734, allocations: 15.38 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.005851, allocations: 496.1 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.005855, allocations: 4 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.00586, allocations: 0 / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.005893, allocations: 119.2 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/0.00592, allocations: 119.2 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.828e-05/0.005968, allocations: 37.7 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.006013, allocations: 123.2 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.006047, allocations: 123.1 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.332e-05/0.00612, allocations: 246.4 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.579e-05/0.006156, allocations: 127.1 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.595e-05/0.006212, allocations: 242.4 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.006267, allocations: 131.1 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.006296, allocations: 123.1 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 9.404e-05/0.00639, allocations: 271.8 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.006452, allocations: 49.62 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.00648, allocations: 8 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006483, allocations: 0 / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006485, allocations: 0 / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.00649, allocations: 3.938 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.63e-05/0.006557, allocations: 109.2 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.00656, allocations: 4 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.006641, allocations: 11.94 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.006644, allocations: 3.984 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.006649, allocations: 0 / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.006651, allocations: 0 / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006652, allocations: 0 / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.98e-05/0.006702, allocations: 68.34 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.006709, allocations: 4 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.006721, allocations: 4 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.006737, allocations: 7.984 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-06/0.00674, allocations: 0 / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.006746, allocations: 4 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.006789, allocations: 127.2 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006789, allocations: 0 / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.006925, allocations: 4 kB / 279.3 MB, free: 11.04 MB / 266.7 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 9.999e-05/0.007025, allocations: 97.64 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.148e-05/0.007076, allocations: 11.92 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007078, allocations: 0 / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.007078, allocations: 0 / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.007294, allocations: 23.81 kB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.007539, allocations: 133.1 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.007572, allocations: 59.34 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.034e-05/0.007582, allocations: 0 / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.007627, allocations: 70.2 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007627, allocations: 0 / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Templates: time 0.002056/0.009683, allocations: 445.1 kB / 280.2 MB, free: 10.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7907795566134155]