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.0009468/0.0009468, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009757/0.0009757, allocations: 172.2 kB / 24.92 MB, free: 9.113 MB / 18.57 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 0.9501/0.9501, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.39e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003458/0.003482, allocations: 2.057 MB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.005629, allocations: 1.332 MB / 276.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.005815, allocations: 7.938 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.006148, allocations: 67.59 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.006494, allocations: 143.2 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.007197, allocations: 263 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.007448, allocations: 235.3 kB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.007545, allocations: 34.48 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.007676, allocations: 127.7 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.007824, allocations: 91.7 kB / 277.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.007848, allocations: 16 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.007986, allocations: 79.88 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.008044, allocations: 63.75 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.008093, allocations: 55.78 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.008326, allocations: 231.1 kB / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.008328, allocations: 0 / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008329, allocations: 0 / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.008334, allocations: 3.938 kB / 278.3 MB, free: 12.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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000506/0.00884, allocations: 492.9 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.008869, allocations: 12.03 kB / 278.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.008911, allocations: 24.92 kB / 278.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.009134, allocations: 241.7 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.009155, allocations: 8.375 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.009171, allocations: 16.38 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.009459, allocations: 268.5 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.009468, allocations: 3.938 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.009479, allocations: 8 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.009486, allocations: 3.984 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.009537, allocations: 33.58 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.009794, allocations: 222.3 kB / 279.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.009969, allocations: 188.2 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.01002, allocations: 46.56 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.01004, allocations: 7.938 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.849e-05/0.01012, allocations: 82.27 kB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.01013, allocations: 0 / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001793/0.0103, allocations: 129.5 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.01035, allocations: 118.8 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.01052, allocations: 284.6 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01054, allocations: 29.7 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.01058, allocations: 113 kB / 280.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.0106, allocations: 23.84 kB / 280.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.01064, allocations: 33.69 kB / 280.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01076, allocations: 338.8 kB / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.01079, allocations: 18.75 kB / 280.9 MB, free: 9.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.01086, allocations: 94.86 kB / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.996e-05/0.01095, allocations: 86.98 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01095, allocations: 0 / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001303/0.01108, allocations: 100.3 kB / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01109, allocations: 8 kB / 281.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.0111, allocations: 0 / 281.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01111, allocations: 8.156 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.01119, allocations: 23.92 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.0112, allocations: 0 / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.01125, allocations: 7.953 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01126, allocations: 7.984 kB / 281.3 MB, free: 9.176 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.596e-05/0.01136, allocations: 132.6 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.01147, allocations: 93.53 kB / 281.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.0116, allocations: 83.89 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01161, allocations: 4 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01161, allocations: 4 kB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.01162, allocations: 3.984 kB / 281.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.01175, allocations: 133.7 kB / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01175, allocations: 0 / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.01186, allocations: 31.92 kB / 281.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01186, allocations: 0 / 281.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01187, allocations: 11.94 kB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01188, allocations: 0 / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01188, allocations: 80 / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.01199, allocations: 115.3 kB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.01206, allocations: 43.72 kB / 281.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01209, allocations: 16 kB / 281.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.01215, allocations: 11.98 kB / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.01219, allocations: 7.984 kB / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.01221, allocations: 11.94 kB / 282 MB, free: 8.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.01233, allocations: 111.5 kB / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01233, allocations: 0 / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000241/0.01257, allocations: 43.94 kB / 282.1 MB, free: 8.258 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.001374/0.01395, allocations: 0.5284 MB / 282.6 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.01409, allocations: 72.69 kB / 282.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.0141, allocations: 4 kB / 282.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.01413, allocations: 20.86 kB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.01443, allocations: 107.2 kB / 282.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.01497, allocations: 415 kB / 283.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.072e-05/0.01505, allocations: 108.3 kB / 283.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.01512, allocations: 26.33 kB / 283.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.01524, allocations: 95.34 kB / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01525, allocations: 0 / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of Templates: time 0.006728/0.02197, allocations: 3.851 MB / 287.3 MB, free: 3.285 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.7182689951732755]