Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001032/0.001032, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001268/0.001268, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9564/0.9564, allocations: 173.3 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.975e-05, allocations: 2.312 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00308/0.00311, allocations: 1.738 MB / 269.7 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005189/0.003628, allocations: 163.4 kB / 269.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003742, allocations: 7.938 kB / 269.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.087e-05/0.003813, allocations: 7.922 kB / 269.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.003986, allocations: 19.86 kB / 269.9 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.004251, allocations: 47.77 kB / 270 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.004376, allocations: 51.84 kB / 270 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004505, allocations: 19.98 kB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.004576, allocations: 35.89 kB / 270.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.004644, allocations: 15.92 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.004672, allocations: 4 kB / 270.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.004689, allocations: 8 kB / 270.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.004761, allocations: 19.91 kB / 270.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.004793, allocations: 11.94 kB / 270.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.004946, allocations: 55.75 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004949, allocations: 4 kB / 270.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00495, allocations: 3.938 kB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.004955, allocations: 0 / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004176/0.005372, allocations: 408.3 kB / 270.6 MB, free: 3.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.005412, allocations: 8.922 kB / 270.6 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.005453, allocations: 24.78 kB / 270.6 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.005621, allocations: 152.3 kB / 270.8 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.00563, allocations: 384 / 270.8 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.005645, allocations: 8.375 kB / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.005928, allocations: 173.2 kB / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005937, allocations: 192 / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005946, allocations: 384 / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.005955, allocations: 4.375 kB / 271 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.005996, allocations: 23.86 kB / 271 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.006316, allocations: 406.3 kB / 271.4 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.0065, allocations: 125.4 kB / 271.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.00656, allocations: 58.98 kB / 271.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.006584, allocations: 3.984 kB / 271.6 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.006604, allocations: 37.39 kB / 271.6 MB, free: 2.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.006606, allocations: 0 / 271.6 MB, free: 2.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002051/0.006811, allocations: 101.6 kB / 271.7 MB, free: 2.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.006868, allocations: 110.8 kB / 271.8 MB, free: 2.348 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.006965, allocations: 193 kB / 272 MB, free: 2.145 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.006977, allocations: 33.95 kB / 272 MB, free: 2.105 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.007029, allocations: 134.9 kB / 272.2 MB, free: 1.969 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.007043, allocations: 7.938 kB / 272.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.007067, allocations: 19.38 kB / 272.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.007178, allocations: 0.4884 MB / 272.7 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.00719, allocations: 0 / 272.7 MB, free: 1.434 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.007206, allocations: 19.38 kB / 272.7 MB, free: 1.406 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.007237, allocations: 31.3 kB / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007239, allocations: 0 / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.045e-05/0.007289, allocations: 41.72 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.007305, allocations: 11.94 kB / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.007311, allocations: 0 / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.007328, allocations: 0 / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.007363, allocations: 7.984 kB / 272.8 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.00737, allocations: 3.938 kB / 272.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.007385, allocations: 4 kB / 272.8 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.00739, allocations: 0 / 272.8 MB, free: 1.293 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.728e-05/0.007458, allocations: 160.6 kB / 273 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.007534, allocations: 69.7 kB / 273 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.007571, allocations: 16.72 kB / 273 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007573, allocations: 0 / 273 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.00758, allocations: 8 kB / 273.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007584, allocations: 3.984 kB / 273.1 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.007716, allocations: 132.6 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007718, allocations: 0 / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.007761, allocations: 23.92 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007762, allocations: 0 / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.00777, allocations: 4 kB / 273.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.007773, allocations: 7.938 kB / 273.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.007775, allocations: 7.938 kB / 273.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.008026, allocations: 398.2 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.008059, allocations: 19.88 kB / 273.6 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.008072, allocations: 4 kB / 273.6 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.008121, allocations: 4 kB / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.008151, allocations: 0 / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.008155, allocations: 4 kB / 273.6 MB, free: 372 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.00826, allocations: 153.6 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00826, allocations: 0 / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008423, allocations: 12 kB / 273.8 MB, free: 208 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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 6.706e-05/0.00849, allocations: 91.25 kB / 273.9 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.008581, allocations: 35.61 kB / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008582, allocations: 0 / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.008598, allocations: 11.69 kB / 273.9 MB, free: 52 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.008909, allocations: 38.83 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.00924, allocations: 211.7 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.009287, allocations: 67.33 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.781e-05/0.009304, allocations: 3.938 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.00934, allocations: 12.5 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009341, allocations: 0 / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002429/0.01177, allocations: 0.6935 MB / 275 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.9093997762538493]