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.0007881/0.0007881, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009208/0.001709, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006964/0.0006964, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008441/0.001541, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9433/0.9433, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08888/1.032, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.503e-06/1.503e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.006e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002448/0.002469, allocations: 2.069 MB / 247.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.00401, allocations: 1.339 MB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.004151, allocations: 7.938 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.004363, allocations: 71.59 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.004696, allocations: 147.2 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.005367, allocations: 270.2 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.005639, allocations: 223.4 kB / 249.1 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.00575, allocations: 30.55 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.005955, allocations: 168.4 kB / 249.3 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.006089, allocations: 95.7 kB / 249.4 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.006112, allocations: 12 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.006278, allocations: 71.89 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.006349, allocations: 59.78 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.006404, allocations: 43.81 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.006712, allocations: 219.1 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.006725, allocations: 0 / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006726, allocations: 0 / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.00674, allocations: 0 / 249.8 MB, free: 8.836 MB / 250.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.0006039/0.007344, allocations: 0.5239 MB / 250.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.00738, allocations: 16.02 kB / 250.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.00743, allocations: 24.92 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.007673, allocations: 225.8 kB / 250.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.007694, allocations: 16.38 kB / 250.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.00771, allocations: 12.38 kB / 250.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.008003, allocations: 272.1 kB / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.008011, allocations: 0 / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.008021, allocations: 0 / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.008026, allocations: 4 kB / 250.9 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.008081, allocations: 37.61 kB / 250.9 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.008355, allocations: 230.3 kB / 251.1 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.008522, allocations: 180.2 kB / 251.3 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.008573, allocations: 58.64 kB / 251.4 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.008597, allocations: 4 kB / 251.4 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.008698, allocations: 74.14 kB / 251.5 MB, free: 7.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.008699, allocations: 0 / 251.5 MB, free: 7.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001831/0.008882, allocations: 137.5 kB / 251.6 MB, free: 6.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.008943, allocations: 118.8 kB / 251.7 MB, free: 6.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.009107, allocations: 284.6 kB / 252 MB, free: 6.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.009126, allocations: 25.7 kB / 252 MB, free: 6.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.009166, allocations: 109.1 kB / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.00919, allocations: 23.83 kB / 252.1 MB, free: 6.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.009232, allocations: 45.67 kB / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.009314, allocations: 334.8 kB / 252.5 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.009334, allocations: 14.81 kB / 252.5 MB, free: 5.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.009382, allocations: 91.14 kB / 252.6 MB, free: 5.766 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.009446, allocations: 78.77 kB / 252.7 MB, free: 5.668 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009448, allocations: 0 / 252.7 MB, free: 5.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001006/0.009549, allocations: 108.3 kB / 252.8 MB, free: 5.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.00956, allocations: 4 kB / 252.8 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009565, allocations: 4.156 kB / 252.8 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.009575, allocations: 4 kB / 252.8 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.009647, allocations: 27.86 kB / 252.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.00965, allocations: 0 / 252.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.009694, allocations: 15.89 kB / 252.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.0097, allocations: 4 kB / 252.9 MB, free: 5.496 MB / 250.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 7.363e-05/0.009774, allocations: 129 kB / 253 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.009851, allocations: 97.84 kB / 253.1 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.009954, allocations: 87.91 kB / 253.2 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.009957, allocations: 4 kB / 253.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.009959, allocations: 4 kB / 253.2 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.009964, allocations: 0 / 253.2 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.01007, allocations: 125.7 kB / 253.3 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01007, allocations: 0 / 253.3 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/0.01015, allocations: 35.92 kB / 253.3 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.0102, allocations: 43.77 kB / 253.4 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01021, allocations: 0 / 253.4 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.01022, allocations: 11.98 kB / 253.4 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01022, allocations: 0 / 253.4 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01022, allocations: 0 / 253.4 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.01031, allocations: 115.4 kB / 253.5 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.01034, allocations: 11.92 kB / 253.5 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.01038, allocations: 4 kB / 253.5 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.01041, allocations: 19.91 kB / 253.5 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01043, allocations: 4 kB / 253.5 MB, free: 4.746 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.401e-05/0.01051, allocations: 111.5 kB / 253.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 0 / 253.6 MB, free: 4.633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.01069, allocations: 47.92 kB / 253.7 MB, free: 4.586 MB / 250.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.001168/0.01186, allocations: 0.5529 MB / 254.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.01198, allocations: 82.17 kB / 254.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.01199, allocations: 4 kB / 254.3 MB, free: 4.168 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.01203, allocations: 20.8 kB / 254.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.0123, allocations: 139.2 kB / 254.5 MB, free: 4.008 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.01291, allocations: 418.2 kB / 254.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.621e-05/0.01297, allocations: 96.3 kB / 255 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.01303, allocations: 30.31 kB / 255 MB, free: 3.426 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.01313, allocations: 87.36 kB / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01313, allocations: 0 / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of Templates: time 0.005694/0.01882, allocations: 3.915 MB / 259 MB, free: 15.48 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 -ignoreHideResult -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.6421265052631497]