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.0009302/0.0009302, 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.001001/0.001001, 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 1/1, allocations: 177 MB / 204.8 MB, free: 5.59 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 9.41e-07/9.41e-07, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.519e-05, allocations: 4.984 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003197/0.003212, allocations: 2.029 MB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.005536, allocations: 1.308 MB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.005678, allocations: 7.938 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.00595, allocations: 75.47 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.006327, allocations: 147.3 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.007046, allocations: 274.9 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.007339, allocations: 219.4 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.007441, allocations: 36.5 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.007612, allocations: 131.6 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.007755, allocations: 91.75 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.007783, allocations: 16 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.007957, allocations: 71.94 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.008038, allocations: 71.75 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.008106, allocations: 55.78 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.008446, allocations: 235.1 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.008448, allocations: 3.938 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.008448, allocations: 0 / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.008452, allocations: 0 / 277.6 MB, free: 12.69 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.0007916/0.009244, allocations: 0.6138 MB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.009277, allocations: 15.98 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.009361, allocations: 44.73 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.009674, allocations: 252.6 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.009693, allocations: 12.38 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.009712, allocations: 12.38 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.01018, allocations: 326.4 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.0102, allocations: 192 / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.01021, allocations: 8.312 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.01022, allocations: 7.938 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.01032, allocations: 39.97 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.01074, allocations: 394.9 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.01095, allocations: 169.4 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.01102, allocations: 71.03 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.01105, allocations: 11.94 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.62e-05/0.01114, allocations: 72.98 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.01114, allocations: 0 / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002771/0.01141, allocations: 205.6 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.01148, allocations: 136.5 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.01169, allocations: 346.3 kB / 280.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.01171, allocations: 33.7 kB / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.01179, allocations: 183.6 kB / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.01181, allocations: 23.84 kB / 280.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.01186, allocations: 55.3 kB / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01199, allocations: 0.504 MB / 281.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.01202, allocations: 19.92 kB / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.0121, allocations: 149.1 kB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.01236, allocations: 98.09 kB / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01236, allocations: 0 / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001457/0.0125, allocations: 137.3 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01252, allocations: 10.97 kB / 281.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.01252, allocations: 4 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01254, allocations: 4 kB / 281.5 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.0126, allocations: 19.94 kB / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.01261, allocations: 3.984 kB / 281.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.01265, allocations: 4 kB / 281.6 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.01266, allocations: 8 kB / 281.6 MB, free: 8.379 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 0.0001014/0.01276, allocations: 168.8 kB / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.01289, allocations: 137.4 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.01305, allocations: 115.5 kB / 282 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01305, allocations: 4 kB / 282 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01305, allocations: 0 / 282 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01306, allocations: 3.984 kB / 282 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.01321, allocations: 204.4 kB / 282.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01321, allocations: 0 / 282.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.01329, allocations: 35.92 kB / 282.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.01329, allocations: 7.938 kB / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01331, allocations: 4 kB / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.01331, allocations: 4 kB / 282.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01331, allocations: 0 / 282.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.01352, allocations: 232.9 kB / 282.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.01359, allocations: 59.66 kB / 282.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.01361, allocations: 8 kB / 282.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.01366, allocations: 15.97 kB / 282.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.01371, allocations: 11.98 kB / 282.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01373, allocations: 4 kB / 282.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.01386, allocations: 231 kB / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01386, allocations: 0 / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.01405, allocations: 47.98 kB / 282.8 MB, free: 7.023 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.0008037/0.01485, allocations: 410.5 kB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.01501, allocations: 99.44 kB / 283.3 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01501, allocations: 0 / 283.3 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.01505, allocations: 27.62 kB / 283.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.01536, allocations: 114.1 kB / 283.5 MB, free: 6.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.01584, allocations: 427.2 kB / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.01589, allocations: 96.3 kB / 284 MB, free: 5.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.01595, allocations: 34.19 kB / 284 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.01599, allocations: 32.48 kB / 284.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.016, allocations: 0 / 284.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Templates: time 0.005822/0.02182, allocations: 3.646 MB / 287.7 MB, free: 2.25 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: 2.996666006743908]