Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.0008752/0.0008752, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002136, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007513/0.0007513, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009034/0.001655, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9249/0.9249, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09099/1.016, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.273e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002208/0.00223, allocations: 1.847 MB / 246.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.003412, allocations: 0.6113 MB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.003499, allocations: 3.938 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.003539, allocations: 11.86 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.731e-05/0.003626, allocations: 15.86 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.003935, allocations: 103.6 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.004061, allocations: 91.69 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.004155, allocations: 22.3 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.004314, allocations: 75.73 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.004371, allocations: 31.89 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.00439, allocations: 8 kB / 247.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.004454, allocations: 12 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.004496, allocations: 23.88 kB / 247.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.004536, allocations: 27.92 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.004687, allocations: 79.61 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.004698, allocations: 0 / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004699, allocations: 0 / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.004709, allocations: 0 / 247.5 MB, free: 11.33 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.0004311/0.00514, allocations: 348 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.005172, allocations: 8.031 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.005322, allocations: 106 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.005495, allocations: 169.4 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.00552, allocations: 4.375 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.005532, allocations: 12.38 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.005791, allocations: 233.4 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.005799, allocations: 4.188 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.005807, allocations: 4.375 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.005812, allocations: 3.938 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.005849, allocations: 23.92 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.006045, allocations: 173.9 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.006169, allocations: 103.8 kB / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.00621, allocations: 42.61 kB / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.006234, allocations: 8 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.00626, allocations: 42.55 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.006261, allocations: 0 / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001684/0.00643, allocations: 113.6 kB / 248.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.006498, allocations: 114.8 kB / 249 MB, free: 9.664 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.006576, allocations: 155.8 kB / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.006587, allocations: 29.7 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.006614, allocations: 80.14 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.006633, allocations: 19.88 kB / 249.3 MB, free: 9.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.006661, allocations: 21.72 kB / 249.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.006737, allocations: 322.8 kB / 249.6 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.006747, allocations: 12 kB / 249.6 MB, free: 9 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.006773, allocations: 36.28 kB / 249.6 MB, free: 8.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.006816, allocations: 52.38 kB / 249.7 MB, free: 8.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006818, allocations: 0 / 249.7 MB, free: 8.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.863e-05/0.006886, allocations: 77.48 kB / 249.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006899, allocations: 6.969 kB / 249.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.006905, allocations: 8.469 kB / 249.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.006914, allocations: 3.938 kB / 249.8 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.006973, allocations: 4 kB / 249.8 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.006978, allocations: 11.92 kB / 249.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.006999, allocations: 0 / 249.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.007006, allocations: 7.984 kB / 249.8 MB, free: 8.762 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 6.845e-05/0.007074, allocations: 123.4 kB / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.007148, allocations: 81.59 kB / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.007175, allocations: 16.78 kB / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.00718, allocations: 7.938 kB / 250 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.007182, allocations: 4 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007185, allocations: 0 / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.34e-05/0.007278, allocations: 93.81 kB / 250.1 MB, free: 8.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.00728, allocations: 4 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.007344, allocations: 27.92 kB / 250.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.007384, allocations: 27.83 kB / 250.2 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007386, allocations: 0 / 250.2 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.007395, allocations: 4 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.007397, allocations: 7.938 kB / 250.2 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007399, allocations: 0 / 250.2 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.873e-05/0.007478, allocations: 145.3 kB / 250.3 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.007494, allocations: 7.938 kB / 250.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.007534, allocations: 8 kB / 250.4 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.007559, allocations: 7.922 kB / 250.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.007564, allocations: 4 kB / 250.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.638e-05/0.007591, allocations: 32.98 kB / 250.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007591, allocations: 0 / 250.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000132/0.007723, allocations: 16 kB / 250.4 MB, free: 8.098 MB / 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 9.06e-05/0.007813, allocations: 91.91 kB / 250.5 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.0079, allocations: 53.41 kB / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.007905, allocations: 0 / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.007916, allocations: 8.859 kB / 250.6 MB, free: 7.938 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.008167, allocations: 84.03 kB / 250.6 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.008868, allocations: 257.4 kB / 250.9 MB, free: 7.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.18e-05/0.00891, allocations: 79.28 kB / 251 MB, free: 7.473 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.00894, allocations: 13.34 kB / 251 MB, free: 7.457 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.009001, allocations: 67.31 kB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009002, allocations: 0 / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of Templates: time 0.003057/0.01206, allocations: 1.292 MB / 252.3 MB, free: 6.121 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.433601484633982]