Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001307/0.001307, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001416/0.001416, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003525/0.246, allocations: 1.96 MB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.2484, allocations: 1.274 MB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2486, allocations: 7.938 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.2489, allocations: 71.59 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.2493, allocations: 147.4 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.2501, allocations: 270.4 kB / 436 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.2505, allocations: 227.4 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2506, allocations: 39.53 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.2508, allocations: 95.61 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.2509, allocations: 119.5 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.251, allocations: 12 kB / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.2511, allocations: 83.88 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.2512, allocations: 63.77 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.2513, allocations: 79.47 kB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.2518, allocations: 298.5 kB / 437 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2518, allocations: 0 / 437 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2518, allocations: 3.938 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2518, allocations: 4 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008951/0.2527, allocations: 0.5139 MB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2527, allocations: 8.031 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.2528, allocations: 32.75 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.2532, allocations: 258.5 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.2532, allocations: 8.375 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.2533, allocations: 16.12 kB / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.2539, allocations: 345.7 kB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2539, allocations: 0 / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2539, allocations: 8 kB / 438.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2539, allocations: 0 / 438.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.2541, allocations: 71.95 kB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.2547, allocations: 345.9 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.2551, allocations: 188 kB / 438.8 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.2553, allocations: 90.45 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.2553, allocations: 4 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.2555, allocations: 79.38 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.2555, allocations: 4 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006157/0.2561, allocations: 261.2 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.2562, allocations: 144.7 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.2566, allocations: 360.2 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.2566, allocations: 29.7 kB / 439.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2567, allocations: 140.5 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.2568, allocations: 31.72 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.2568, allocations: 57.89 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.257, allocations: 342.8 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2571, allocations: 44.44 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.2573, allocations: 237.5 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.2576, allocations: 207.2 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2577, allocations: 4 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004397/0.2581, allocations: 241.1 kB / 441 MB, free: 13.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2581, allocations: 8 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2581, allocations: 4 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2581, allocations: 4 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2583, allocations: 43.92 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.2583, allocations: 12.77 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.2584, allocations: 16 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2585, allocations: 16 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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 0.0001872/0.2586, allocations: 179.6 kB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.2589, allocations: 137.7 kB / 441.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.2592, allocations: 143.4 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2592, allocations: 4 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2592, allocations: 0 / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2592, allocations: 0 / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.2594, allocations: 197.1 kB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2594, allocations: 4.469 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2596, allocations: 27.98 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2596, allocations: 4 kB / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2596, allocations: 0 / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2596, allocations: 4 kB / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2596, allocations: 7.875 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.26, allocations: 258.4 kB / 442.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2601, allocations: 47.78 kB / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.2602, allocations: 8 kB / 442.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.2603, allocations: 12 kB / 442.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2603, allocations: 7.984 kB / 442.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.2604, allocations: 12 kB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.2606, allocations: 259 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2606, allocations: 0 / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.261, allocations: 55.86 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001747/0.2627, allocations: 461.8 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.2631, allocations: 159.2 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2631, allocations: 0 / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.2632, allocations: 35.92 kB / 443.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.2637, allocations: 134.5 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.2645, allocations: 470.9 kB / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.2647, allocations: 165.4 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.426e-05/0.2648, allocations: 34.78 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.2648, allocations: 27.44 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2648, allocations: 0 / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.008925/0.2738, allocations: 3.928 MB / 447.9 MB, free: 6.867 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.514496445000987]