Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001176/0.001176, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001253/0.001253, allocations: 148.6 kB / 24.89 MB, free: 8.742 MB / 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.8956/0.8956, allocations: 173.4 MB / 201.5 MB, free: 8.727 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.967e-05, allocations: 6.109 kB / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002909/0.002929, allocations: 1.781 MB / 270.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.003844, allocations: 0.5373 MB / 270.8 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.003931, allocations: 11.88 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.003987, allocations: 11.86 kB / 270.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.004134, allocations: 15.81 kB / 270.8 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.004464, allocations: 91.64 kB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.004606, allocations: 95.69 kB / 271 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.004701, allocations: 17.95 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.00482, allocations: 55.88 kB / 271.1 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.004885, allocations: 39.83 kB / 271.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.004911, allocations: 8 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.004926, allocations: 8 kB / 271.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.004983, allocations: 31.83 kB / 271.2 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.005022, allocations: 27.92 kB / 271.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.005164, allocations: 79.64 kB / 271.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005166, allocations: 4 kB / 271.3 MB, free: 3.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005167, allocations: 0 / 271.3 MB, free: 3.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.005171, allocations: 4 kB / 271.3 MB, free: 3.176 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004257/0.005596, allocations: 320.4 kB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.005636, allocations: 8.031 kB / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.005684, allocations: 20.92 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.005875, allocations: 157.3 kB / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.005895, allocations: 12.38 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.005914, allocations: 12.38 kB / 271.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.006236, allocations: 233.9 kB / 272 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006246, allocations: 8.125 kB / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.006256, allocations: 4.375 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.006263, allocations: 3.938 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.006307, allocations: 19.98 kB / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.006507, allocations: 166 kB / 272.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.006652, allocations: 103.8 kB / 272.3 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.006706, allocations: 42.62 kB / 272.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.006725, allocations: 4 kB / 272.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.006748, allocations: 42.56 kB / 272.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.00675, allocations: 0 / 272.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002003/0.00695, allocations: 109.5 kB / 272.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.00702, allocations: 126.8 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.00711, allocations: 134.7 kB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.007127, allocations: 33.69 kB / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.00716, allocations: 88.12 kB / 272.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.007183, allocations: 19.86 kB / 272.9 MB, free: 1.352 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.007219, allocations: 21.67 kB / 272.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.007303, allocations: 322.8 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.007317, allocations: 12.12 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.00735, allocations: 40.28 kB / 273.3 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.007404, allocations: 52.22 kB / 273.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.007407, allocations: 0 / 273.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.014e-05/0.007497, allocations: 69.67 kB / 273.4 MB, free: 0.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.00751, allocations: 10.81 kB / 273.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007515, allocations: 0 / 273.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.007529, allocations: 7.938 kB / 273.4 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.007583, allocations: 15.86 kB / 273.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.007586, allocations: 0 / 273.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.007621, allocations: 8 kB / 273.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.007627, allocations: 0 / 273.5 MB, free: 0.7539 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.537e-05/0.007703, allocations: 124.7 kB / 273.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.007808, allocations: 85.89 kB / 273.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.007841, allocations: 24.8 kB / 273.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.007845, allocations: 3.938 kB / 273.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007847, allocations: 0 / 273.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007851, allocations: 4 kB / 273.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.007981, allocations: 81.88 kB / 273.8 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007982, allocations: 0 / 273.8 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.008065, allocations: 27.92 kB / 273.8 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008068, allocations: 0 / 273.8 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.008077, allocations: 3.984 kB / 273.8 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.00808, allocations: 4 kB / 273.8 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.008081, allocations: 0 / 273.8 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.559e-05/0.008166, allocations: 161.2 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.00821, allocations: 19.84 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.00823, allocations: 4 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.544e-05/0.008295, allocations: 7.984 kB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.008316, allocations: 3.938 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.008325, allocations: 8 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of sorting global known variables: time 3.365e-05/0.008358, allocations: 31.47 kB / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008359, allocations: 0 / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.008594, allocations: 16 kB / 274.1 MB, free: 100 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 8.382e-05/0.008677, allocations: 92.44 kB / 274.2 MB, free: 0 / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.008782, allocations: 44.72 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.008785, allocations: 0 / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.411e-05/0.008799, allocations: 12.84 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.009121, allocations: 67.81 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.009639, allocations: 253.8 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.009697, allocations: 83.31 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.8e-05/0.009725, allocations: 0.9844 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.0098, allocations: 71.36 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009801, allocations: 0 / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Templates: time 0.003369/0.01317, allocations: 1.289 MB / 276 MB, free: 14.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.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.5087565588764846]