Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001075/0.001075, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009983/0.0009983, allocations: 154.4 kB / 25.61 MB, free: 8.895 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 1.021/1.021, allocations: 177 MB / 205.9 MB, free: 4.445 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.869e-05, allocations: 2.312 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002853/0.002872, allocations: 2.008 MB / 276.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.004681, allocations: 1.306 MB / 277.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.004839, allocations: 9.719 kB / 277.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.005186, allocations: 71.53 kB / 277.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.005517, allocations: 135.4 kB / 277.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.006213, allocations: 278.1 kB / 277.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.006502, allocations: 235.2 kB / 278.1 MB, free: 268 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.006615, allocations: 36.5 kB / 278.2 MB, free: 228 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.006764, allocations: 124.3 kB / 278.3 MB, free: 104 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.006901, allocations: 91.75 kB / 278.4 MB, free: 12 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.006926, allocations: 12.66 kB / 278.4 MB, free: 0 / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.007069, allocations: 79.88 kB / 278.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.007145, allocations: 70.17 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.007204, allocations: 51.83 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.007478, allocations: 239.1 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.007481, allocations: 0 / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007481, allocations: 0 / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.007486, allocations: 0 / 278.8 MB, free: 15.57 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000681/0.008167, allocations: 0.6215 MB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.008212, allocations: 12.02 kB / 279.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.008286, allocations: 40.75 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.008567, allocations: 236.6 kB / 279.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.008596, allocations: 16.31 kB / 279.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.008615, allocations: 16.31 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.008995, allocations: 267.8 kB / 280 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.009006, allocations: 192 / 280 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.009033, allocations: 8.359 kB / 280 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.009043, allocations: 15.92 kB / 280 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.00911, allocations: 31.91 kB / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.009495, allocations: 339.6 kB / 280.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.009704, allocations: 173.5 kB / 280.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.009766, allocations: 59.03 kB / 280.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.009784, allocations: 4 kB / 280.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.865e-05/0.009883, allocations: 80.95 kB / 280.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.009885, allocations: 4 kB / 280.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002767/0.01016, allocations: 173.4 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.01023, allocations: 126.7 kB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.01044, allocations: 338.1 kB / 281.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01046, allocations: 29.7 kB / 281.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.01055, allocations: 187.3 kB / 281.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.01058, allocations: 23.84 kB / 281.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.01063, allocations: 47.33 kB / 281.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.01077, allocations: 0.5118 MB / 282.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.01079, allocations: 11.98 kB / 282.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.01086, allocations: 111.4 kB / 282.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.01094, allocations: 89.98 kB / 282.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01094, allocations: 0 / 282.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001501/0.01109, allocations: 133.5 kB / 282.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.0111, allocations: 8 kB / 282.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.01111, allocations: 3.984 kB / 282.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.01112, allocations: 7.938 kB / 282.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.01118, allocations: 16 kB / 282.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01119, allocations: 3.938 kB / 282.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.01123, allocations: 7.984 kB / 282.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.01124, allocations: 4 kB / 282.5 MB, free: 11.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$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 (16): * Single equations (assignments): 16 * 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 9.65e-05/0.01134, allocations: 172.9 kB / 282.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.01144, allocations: 125.7 kB / 282.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.01157, allocations: 111.5 kB / 282.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01158, allocations: 4 kB / 282.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01158, allocations: 0 / 282.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01158, allocations: 4 kB / 282.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.01172, allocations: 165 kB / 283.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01172, allocations: 0 / 283.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.01179, allocations: 27.98 kB / 283.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01179, allocations: 4 kB / 283.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.0118, allocations: 4 kB / 283.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.0118, allocations: 7.875 kB / 283.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.0118, allocations: 4 kB / 283.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.01194, allocations: 151.6 kB / 283.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.01201, allocations: 47.78 kB / 283.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.01203, allocations: 4 kB / 283.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.701e-05/0.01208, allocations: 15.92 kB / 283.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.01212, allocations: 7.984 kB / 283.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.01214, allocations: 8 kB / 283.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.01227, allocations: 222.9 kB / 283.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01227, allocations: 0 / 283.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.0125, allocations: 47.92 kB / 283.6 MB, free: 10.34 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: 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.0009971/0.0135, allocations: 413.7 kB / 284 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.01382, allocations: 78.77 kB / 284.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01383, allocations: 3.938 kB / 284.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.457e-05/0.01389, allocations: 35.66 kB / 284.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.01432, allocations: 105.3 kB / 284.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.01503, allocations: 419.2 kB / 284.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.441e-05/0.0151, allocations: 104.2 kB / 284.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.01522, allocations: 30.25 kB / 284.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.01535, allocations: 114.2 kB / 284.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of SimCode: time 1.763e-06/0.01535, allocations: 0 / 284.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of Templates: time 0.007213/0.02257, allocations: 3.928 MB / 288.8 MB, free: 5.234 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.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: 3.145329282153398]