Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.076/1.076, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.713e-05, allocations: 6.25 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00295/0.002987, allocations: 1.803 MB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.004066, allocations: 0.5997 MB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.004193, allocations: 3.938 kB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.446e-05/0.004268, allocations: 11.86 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.004475, allocations: 19.8 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.004966, allocations: 107.6 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.005132, allocations: 91.69 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.005267, allocations: 21.62 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.005456, allocations: 67.75 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.005525, allocations: 31.89 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.00555, allocations: 8 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.005599, allocations: 8 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.005661, allocations: 27.91 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.005703, allocations: 23.92 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005873, allocations: 91.64 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005875, allocations: 4 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005876, allocations: 0 / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.005882, allocations: 0 / 275.8 MB, free: 14.48 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.0004881/0.00637, allocations: 455.9 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.006412, allocations: 15.98 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.006545, allocations: 32.83 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.006742, allocations: 172.3 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.006767, allocations: 16.31 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.006782, allocations: 8.375 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.00733, allocations: 253.1 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.00734, allocations: 192 / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.007351, allocations: 384 / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.007363, allocations: 7.938 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.42e-05/0.007417, allocations: 27.92 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.00771, allocations: 299.1 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.007891, allocations: 133.3 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.007958, allocations: 59.19 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.007984, allocations: 15.92 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.00801, allocations: 49.27 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.008011, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000242/0.008253, allocations: 133.9 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.008322, allocations: 122.8 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.008431, allocations: 213.8 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.008444, allocations: 25.7 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.008496, allocations: 138.9 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.008516, allocations: 19.89 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.008548, allocations: 23.38 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.008665, allocations: 0.4963 MB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.008683, allocations: 7.984 kB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.008719, allocations: 58.38 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.61e-05/0.008775, allocations: 66.36 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008778, allocations: 0 / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.582e-05/0.008873, allocations: 85.55 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.008889, allocations: 14.59 kB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008894, allocations: 0 / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.008907, allocations: 0 / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.008963, allocations: 7.984 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.008971, allocations: 4 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.008994, allocations: 0 / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.009, allocations: 4 kB / 278.8 MB, free: 11.25 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 8.259e-05/0.009082, allocations: 173.2 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.009194, allocations: 113.9 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.00923, allocations: 16.78 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.009235, allocations: 4 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.009239, allocations: 0 / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.009244, allocations: 7.984 kB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.009357, allocations: 144.5 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009359, allocations: 0 / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.009417, allocations: 23.98 kB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.009418, allocations: 0 / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.00943, allocations: 15.88 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009431, allocations: 0 / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009432, allocations: 8 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.009609, allocations: 291.1 kB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.009648, allocations: 19.94 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.009667, allocations: 7.938 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.009708, allocations: 8 kB / 279.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.009742, allocations: 3.984 kB / 279.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.009749, allocations: 4 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.306e-05/0.009812, allocations: 155.1 kB / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009812, allocations: 0 / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.009963, allocations: 20 kB / 279.7 MB, free: 10.17 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 7.007e-05/0.01003, allocations: 103.2 kB / 279.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.01014, allocations: 51.59 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01014, allocations: 4 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.01016, allocations: 11.62 kB / 279.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.01046, allocations: 83.17 kB / 280 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.01098, allocations: 266.2 kB / 280.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01102, allocations: 75.33 kB / 280.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.257e-05/0.01105, allocations: 8.969 kB / 280.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.01108, allocations: 16.5 kB / 280.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01108, allocations: 3.938 kB / 280.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of Templates: time 0.003106/0.01419, allocations: 1.226 MB / 281.6 MB, free: 8.281 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8536755507811904]