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.001002/0.001002, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009667/0.001969, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006285/0.0006285, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000893/0.001521, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8004/0.8004, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1265/0.9269, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.102e-06/1.102e-06, allocations: 0 / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/1.014e-05, allocations: 2.312 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.001847/0.001857, allocations: 1.83 MB / 241.6 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005531/0.00241, allocations: 0.5392 MB / 242.1 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.002477, allocations: 7.938 kB / 242.1 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.00251, allocations: 11 kB / 242.1 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.002572, allocations: 15.84 kB / 242.2 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.002786, allocations: 99.58 kB / 242.3 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.002889, allocations: 79.78 kB / 242.3 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.002975, allocations: 37.72 kB / 242.4 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.003072, allocations: 63.86 kB / 242.4 MB, free: 3.66 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.003122, allocations: 27.91 kB / 242.5 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003142, allocations: 5.312 kB / 242.5 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.003156, allocations: 8 kB / 242.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.003196, allocations: 27.86 kB / 242.5 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.003225, allocations: 20.97 kB / 242.5 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003327, allocations: 75.67 kB / 242.6 MB, free: 3.5 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.003334, allocations: 0 / 242.6 MB, free: 3.5 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003334, allocations: 3.031 kB / 242.6 MB, free: 3.5 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.003342, allocations: 0 / 242.6 MB, free: 3.5 MB / 234.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.0003495/0.003692, allocations: 344 kB / 242.9 MB, free: 3.141 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.449e-05/0.003716, allocations: 8.031 kB / 242.9 MB, free: 3.133 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.003748, allocations: 20.92 kB / 243 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.003912, allocations: 162.3 kB / 243.1 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.003931, allocations: 8.375 kB / 243.1 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.003943, allocations: 9.594 kB / 243.1 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.004189, allocations: 238.9 kB / 243.4 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.004195, allocations: 192 / 243.4 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.004203, allocations: 4.375 kB / 243.4 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004208, allocations: 8.578 kB / 243.4 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.004241, allocations: 19.94 kB / 243.4 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.004396, allocations: 174.6 kB / 243.6 MB, free: 2.438 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.004504, allocations: 101.6 kB / 243.7 MB, free: 2.312 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.004543, allocations: 46.75 kB / 243.7 MB, free: 2.258 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.004563, allocations: 7.984 kB / 243.7 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.00458, allocations: 34.56 kB / 243.8 MB, free: 2.207 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.004582, allocations: 1.469 kB / 243.8 MB, free: 2.207 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001461/0.004728, allocations: 113.5 kB / 243.9 MB, free: 2.09 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.004778, allocations: 114.8 kB / 244 MB, free: 1.953 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.00485, allocations: 150.5 kB / 244.1 MB, free: 1.797 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.00486, allocations: 25.7 kB / 244.2 MB, free: 1.766 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.004887, allocations: 92.67 kB / 244.3 MB, free: 1.672 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.004903, allocations: 16.5 kB / 244.3 MB, free: 1.656 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.00493, allocations: 21.72 kB / 244.3 MB, free: 1.629 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.004995, allocations: 320.5 kB / 244.6 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.005004, allocations: 4 kB / 244.6 MB, free: 1.305 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.005029, allocations: 48.2 kB / 244.7 MB, free: 1.242 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.005067, allocations: 46.38 kB / 244.7 MB, free: 1.184 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005069, allocations: 0 / 244.7 MB, free: 1.184 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.882e-05/0.005128, allocations: 74.55 kB / 244.8 MB, free: 1.105 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.005138, allocations: 4.75 kB / 244.8 MB, free: 1.102 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.005143, allocations: 3.938 kB / 244.8 MB, free: 1.098 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.005158, allocations: 12.61 kB / 244.8 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.005209, allocations: 7.984 kB / 244.8 MB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005212, allocations: 0.6875 kB / 244.8 MB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.005234, allocations: 8.453 kB / 244.8 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005239, allocations: 4 kB / 244.8 MB, free: 1.066 MB / 234.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 5.544e-05/0.005295, allocations: 121.5 kB / 244.9 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.005364, allocations: 87.2 kB / 245 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.00539, allocations: 16.78 kB / 245 MB, free: 0.832 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.005394, allocations: 7.938 kB / 245 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.005395, allocations: 0 / 245 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.005399, allocations: 3.984 kB / 245 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.228e-05/0.005481, allocations: 90.09 kB / 245.1 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005482, allocations: 0 / 245.1 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.005541, allocations: 27.98 kB / 245.2 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.005571, allocations: 23.89 kB / 245.2 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.005574, allocations: 4 kB / 245.2 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.00558, allocations: 0 / 245.2 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.005582, allocations: 7.875 kB / 245.2 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.005585, allocations: 8 kB / 245.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.555e-05/0.005641, allocations: 137.3 kB / 245.3 MB, free: 500 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.005657, allocations: 8 kB / 245.3 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.005696, allocations: 8.031 kB / 245.4 MB, free: 484 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.005715, allocations: 11.92 kB / 245.4 MB, free: 472 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.005719, allocations: 0 / 245.4 MB, free: 472 kB / 234.7 MB Notification: Performance of sorting global known variables: time 2.266e-05/0.005742, allocations: 28.83 kB / 245.4 MB, free: 440 kB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005742, allocations: 0 / 245.4 MB, free: 440 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.005873, allocations: 20 kB / 245.4 MB, free: 420 kB / 234.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 5.837e-05/0.005932, allocations: 92.34 kB / 245.5 MB, free: 320 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.006006, allocations: 53.08 kB / 245.6 MB, free: 264 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.006011, allocations: 8.094 kB / 245.6 MB, free: 256 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.006023, allocations: 8.859 kB / 245.6 MB, free: 244 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.006271, allocations: 183.2 kB / 245.7 MB, free: 36 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.006922, allocations: 261.3 kB / 246 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.00696, allocations: 79.28 kB / 246.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.172e-05/0.006981, allocations: 8.969 kB / 246.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.007038, allocations: 63.47 kB / 246.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007039, allocations: 4 kB / 246.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of Templates: time 0.002362/0.009401, allocations: 1.284 MB / 247.4 MB, free: 14.32 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.168091982603073]