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.001067/0.001067, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001099/0.001099, allocations: 169.5 kB / 24.91 MB, free: 8.773 MB / 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 0.9342/0.9342, allocations: 177 MB / 205.2 MB, free: 5.453 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 1.252e-06/1.252e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.416e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002263/0.002287, allocations: 1.798 MB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.003206, allocations: 0.6151 MB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.003295, allocations: 3.938 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/0.003348, allocations: 15.86 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.003484, allocations: 11.81 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.003867, allocations: 107.6 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.003991, allocations: 91.7 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.004086, allocations: 26.27 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.004235, allocations: 59.81 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.004287, allocations: 35.89 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.004305, allocations: 11.94 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.004343, allocations: 8 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.004389, allocations: 27.91 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.004421, allocations: 31.86 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004584, allocations: 83.7 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004586, allocations: 0 / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.004588, allocations: 3.938 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.004593, allocations: 0 / 276.3 MB, free: 14.28 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.000356/0.004949, allocations: 324.3 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.004979, allocations: 15.98 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.005092, allocations: 28.91 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.005258, allocations: 177.4 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.005278, allocations: 8.375 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.005292, allocations: 12.38 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.005552, allocations: 226.9 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.00556, allocations: 4.125 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.005569, allocations: 4.375 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005574, allocations: 11.88 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.005607, allocations: 19.98 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.005781, allocations: 166 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.005904, allocations: 99.81 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.005947, allocations: 46.77 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.005967, allocations: 8 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.005988, allocations: 34.56 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.00599, allocations: 0 / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001644/0.006154, allocations: 105.5 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.006213, allocations: 122.7 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.006289, allocations: 154.5 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.006299, allocations: 25.7 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.006331, allocations: 96.11 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.006348, allocations: 15.89 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.006378, allocations: 21.83 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.006454, allocations: 326.8 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.006465, allocations: 4 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.006494, allocations: 44.28 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.006536, allocations: 44.22 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006538, allocations: 0 / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.699e-05/0.006605, allocations: 73.55 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.006617, allocations: 8 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006621, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.006633, allocations: 7.938 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.006688, allocations: 11.92 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006691, allocations: 0 / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.006713, allocations: 4 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.006719, allocations: 4 kB / 278.5 MB, free: 11.82 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 7.215e-05/0.006792, allocations: 120.8 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.006869, allocations: 85.89 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.006898, allocations: 24.77 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.006903, allocations: 7.922 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.006906, allocations: 4 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006909, allocations: 0 / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.007005, allocations: 85.77 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007007, allocations: 3.938 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.007067, allocations: 27.92 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.007068, allocations: 0 / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007076, allocations: 7.984 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007077, allocations: 4 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007078, allocations: 4 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.131e-05/0.007149, allocations: 153.2 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.007185, allocations: 19.91 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.0072, allocations: 4 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.007241, allocations: 7.984 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.007262, allocations: 7.938 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.007267, allocations: 0 / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.007295, allocations: 36.81 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007295, allocations: 0 / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.007427, allocations: 16 kB / 279.1 MB, free: 11.16 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 8.523e-05/0.007512, allocations: 88.39 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.136e-05/0.007593, allocations: 52.7 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.007596, allocations: 0 / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.007606, allocations: 8.859 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.007842, allocations: 70.97 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.008296, allocations: 273.7 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.00834, allocations: 75.33 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.743e-05/0.008367, allocations: 4.984 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.008432, allocations: 71.36 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.008433, allocations: 0 / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of Templates: time 0.002917/0.01135, allocations: 1.273 MB / 281 MB, free: 9.207 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.697617130819708]