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.0009077/0.0009077, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0008908/0.0008908, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9991/0.9991, allocations: 177 MB / 204.8 MB, free: 5.602 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.473e-06/1.473e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.002e-05, allocations: 5.266 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002433/0.002463, allocations: 1.807 MB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008443/0.003307, allocations: 0.6036 MB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.00341, allocations: 7.938 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.003462, allocations: 11.86 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003599, allocations: 11.81 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.003952, allocations: 107.5 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.004076, allocations: 95.7 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004181, allocations: 29.61 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.004343, allocations: 63.81 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.0044, allocations: 23.91 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.00442, allocations: 8 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.004463, allocations: 12 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.004515, allocations: 27.84 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.004557, allocations: 31.91 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.004722, allocations: 83.64 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.004726, allocations: 4 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004727, allocations: 3.938 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.004732, allocations: 4 kB / 275.8 MB, free: 14.51 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.0004692/0.005201, allocations: 448.1 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.005241, allocations: 15.97 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.005382, allocations: 24.84 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.005579, allocations: 184.2 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.0056, allocations: 8.375 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.005616, allocations: 12.38 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.005961, allocations: 249.1 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005969, allocations: 192 / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005981, allocations: 8.375 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.005992, allocations: 3.938 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.432e-05/0.006046, allocations: 27.92 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.006336, allocations: 299.1 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.006501, allocations: 137.3 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.006565, allocations: 55.16 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.006587, allocations: 7.984 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.00661, allocations: 45.27 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.006612, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002443/0.006856, allocations: 145.4 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.006919, allocations: 110.8 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.007022, allocations: 213.8 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.007035, allocations: 29.7 kB / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.007083, allocations: 138.9 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.0071, allocations: 15.91 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.007133, allocations: 27.38 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.007251, allocations: 0.4884 MB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.007285, allocations: 11.98 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.007321, allocations: 54.5 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.007382, allocations: 66.36 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.007384, allocations: 3.938 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.993e-05/0.007484, allocations: 89.52 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.0075, allocations: 10.75 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007505, allocations: 4.156 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.007521, allocations: 4 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.007585, allocations: 7.984 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.007591, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.007616, allocations: 4 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.007624, allocations: 4 kB / 278.8 MB, free: 11.29 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.98e-05/0.007704, allocations: 169.4 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.00782, allocations: 117.9 kB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.007855, allocations: 20.78 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007857, allocations: 0 / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.007862, allocations: 11.98 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007865, allocations: 0 / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.007984, allocations: 148.5 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.007987, allocations: 0 / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.008056, allocations: 23.92 kB / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.008059, allocations: 4 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.008071, allocations: 7.938 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.008073, allocations: 4 kB / 279.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008075, allocations: 0 / 279.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.008288, allocations: 287.2 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.00833, allocations: 23.94 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.008353, allocations: 7.938 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.008398, allocations: 8 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.008428, allocations: 7.922 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.008434, allocations: 4 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.008496, allocations: 155.2 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008496, allocations: 0 / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.008657, allocations: 16 kB / 279.7 MB, free: 10.21 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.543e-05/0.008742, allocations: 95.25 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.008873, allocations: 63.59 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008874, allocations: 0 / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.008887, allocations: 11.62 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.009219, allocations: 75.92 kB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.00975, allocations: 269.8 kB / 280.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.013e-05/0.0098, allocations: 79.33 kB / 280.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.724e-05/0.009828, allocations: 13.3 kB / 280.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.009863, allocations: 12.5 kB / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.009864, allocations: 0 / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of Templates: time 0.00353/0.01339, allocations: 1.277 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.7333338470198214]