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.0007808/0.0007808, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008546/0.0008546, allocations: 168.7 kB / 24.91 MB, free: 9.191 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 0.8997/0.8997, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.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.253e-06/1.253e-06, allocations: 0 / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.519e-05, allocations: 2.312 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002014/0.002029, allocations: 1.799 MB / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.002808, allocations: 0.6035 MB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.002885, allocations: 7.938 kB / 275.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.00293, allocations: 11.81 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.003044, allocations: 19.81 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.003336, allocations: 103.6 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.003445, allocations: 91.69 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.003525, allocations: 22.28 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.003655, allocations: 63.81 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.003706, allocations: 31.89 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.003722, allocations: 7.938 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.003762, allocations: 19.98 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.003805, allocations: 27.91 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.003834, allocations: 31.91 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.003961, allocations: 87.58 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003963, allocations: 0 / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003964, allocations: 0 / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.003967, allocations: 0 / 276.4 MB, free: 14.36 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0003065/0.004273, allocations: 332.3 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.004299, allocations: 8.031 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.004393, allocations: 28.91 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.004542, allocations: 166.1 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.004558, allocations: 8.375 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.00457, allocations: 12.38 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.004806, allocations: 236.1 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004812, allocations: 4.188 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004819, allocations: 384 / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004825, allocations: 3.938 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.352e-05/0.004859, allocations: 27.91 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.005017, allocations: 162 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.005129, allocations: 107.6 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.005169, allocations: 42.77 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.005188, allocations: 12.12 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.005206, allocations: 34.56 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.52e-07/0.005207, allocations: 0 / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001451/0.005352, allocations: 109.5 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.005408, allocations: 114.8 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.005488, allocations: 159.2 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005501, allocations: 29.7 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.005528, allocations: 84.12 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.005543, allocations: 20.02 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.005572, allocations: 29.64 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.005643, allocations: 318.8 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-06/0.005652, allocations: 8 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.005677, allocations: 44.22 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.005719, allocations: 48.2 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00572, allocations: 0 / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.219e-05/0.005783, allocations: 77.55 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.005793, allocations: 4 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.005797, allocations: 0 / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.005807, allocations: 7.938 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.116e-05/0.005848, allocations: 4 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.005851, allocations: 0 / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.005872, allocations: 4 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.005879, allocations: 4 kB / 278.6 MB, free: 11.92 MB / 266.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.237e-05/0.005941, allocations: 128.8 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.006012, allocations: 82.16 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.006039, allocations: 20.77 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.006043, allocations: 7.938 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006045, allocations: 0 / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.006048, allocations: 0 / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.906e-05/0.006137, allocations: 89.77 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.00614, allocations: 3.984 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.006189, allocations: 20 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.006192, allocations: 3.984 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.0062, allocations: 12 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.006202, allocations: 4 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006203, allocations: 3.938 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.505e-05/0.006268, allocations: 149.2 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.006301, allocations: 19.89 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.006317, allocations: 8 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.006354, allocations: 4 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.006378, allocations: 7.938 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.006385, allocations: 4 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.587e-05/0.006411, allocations: 32.81 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006411, allocations: 4.031 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.006538, allocations: 16 kB / 279.2 MB, free: 11.25 MB / 266.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 6.395e-05/0.006602, allocations: 92.23 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.217e-05/0.006674, allocations: 44.88 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.006678, allocations: 4 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.006687, allocations: 8.859 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.006893, allocations: 72.75 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.007306, allocations: 269.3 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.919e-05/0.007355, allocations: 75.33 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.007376, allocations: 0.9844 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.007435, allocations: 71.34 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007436, allocations: 0 / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Templates: time 0.002618/0.01005, allocations: 1.295 MB / 281.1 MB, free: 9.293 MB / 266.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 -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.531916954088956]