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.001003/0.001003, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001066/0.001066, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.036/1.036, allocations: 177 MB / 205.2 MB, free: 5.586 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 1.724e-06/1.724e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.656e-05, allocations: 5.125 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003741/0.003767, allocations: 2.014 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.006031, allocations: 1.304 MB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.006205, allocations: 7.938 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.006548, allocations: 71.53 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.006967, allocations: 143.3 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.00778, allocations: 278.9 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.008102, allocations: 227.4 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.008244, allocations: 32.52 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.008428, allocations: 127.6 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.008608, allocations: 95.7 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.008641, allocations: 12 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.008842, allocations: 79.94 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.008931, allocations: 67.75 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.009008, allocations: 51.78 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.009386, allocations: 239.1 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.00939, allocations: 0 / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009391, allocations: 0 / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.009396, allocations: 0 / 277.7 MB, free: 13.01 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.0007646/0.01016, allocations: 0.6177 MB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.0102, allocations: 15.98 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.944e-05/0.01029, allocations: 44.73 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.01064, allocations: 252.6 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.01067, allocations: 12.31 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.01069, allocations: 16.38 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.0112, allocations: 330.3 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.01121, allocations: 192 / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.01123, allocations: 384 / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01124, allocations: 11.92 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.01135, allocations: 43.91 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.01186, allocations: 382.9 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.01213, allocations: 177.5 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.01225, allocations: 67.03 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.01227, allocations: 11.88 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.0124, allocations: 73.05 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.0124, allocations: 0 / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.000429/0.01283, allocations: 205.5 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/0.01293, allocations: 140.5 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.01326, allocations: 350.3 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.01329, allocations: 33.64 kB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01341, allocations: 183.3 kB / 280.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.01344, allocations: 19.86 kB / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.01351, allocations: 55.3 kB / 280.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01367, allocations: 0.504 MB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.01372, allocations: 19.98 kB / 281.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.01383, allocations: 148.8 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.01396, allocations: 90.09 kB / 281.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01396, allocations: 0 / 281.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000225/0.01418, allocations: 145.6 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.0142, allocations: 4 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.0142, allocations: 7.875 kB / 281.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01422, allocations: 4.156 kB / 281.6 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.01437, allocations: 20 kB / 281.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.01438, allocations: 3.984 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.01447, allocations: 4 kB / 281.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.01448, allocations: 8 kB / 281.7 MB, free: 8.688 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.0001177/0.01459, allocations: 172.8 kB / 281.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.01475, allocations: 137.3 kB / 282 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.01491, allocations: 99.52 kB / 282.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01491, allocations: 4 kB / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01491, allocations: 4 kB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01492, allocations: 11.92 kB / 282.1 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.01507, allocations: 204.5 kB / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01507, allocations: 0 / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.01515, allocations: 27.98 kB / 282.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01515, allocations: 7.938 kB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01516, allocations: 4 kB / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01516, allocations: 0 / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01516, allocations: 0 / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.01539, allocations: 244.8 kB / 282.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.01547, allocations: 55.66 kB / 282.6 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.0155, allocations: 8 kB / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.01557, allocations: 11.98 kB / 282.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.01561, allocations: 11.98 kB / 282.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.01563, allocations: 8 kB / 282.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.01577, allocations: 231 kB / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01577, allocations: 0 / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.01596, allocations: 43.98 kB / 282.9 MB, free: 7.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.0007955/0.01676, allocations: 417.6 kB / 283.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.01694, allocations: 99.31 kB / 283.4 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01695, allocations: 320 / 283.4 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.01699, allocations: 27.69 kB / 283.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.01734, allocations: 111.3 kB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.01788, allocations: 435.1 kB / 284 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.01795, allocations: 96.3 kB / 284.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.01801, allocations: 25.92 kB / 284.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.01806, allocations: 32.48 kB / 284.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01806, allocations: 4 kB / 284.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of Templates: time 0.005352/0.02341, allocations: 3.631 MB / 287.8 MB, free: 2.57 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.0128693480510265]