Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001676/0.001676, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001944/0.001944, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2668, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003804/0.2706, allocations: 2.011 MB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.2731, allocations: 1.364 MB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2733, allocations: 4 kB / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.2736, allocations: 71.59 kB / 435.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.274, allocations: 147.4 kB / 435.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/0.2749, allocations: 262.8 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.2752, allocations: 227.4 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2753, allocations: 32.28 kB / 436.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.2755, allocations: 107.5 kB / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.2757, allocations: 111.5 kB / 436.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.2757, allocations: 12 kB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2759, allocations: 75.89 kB / 436.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.276, allocations: 63.77 kB / 436.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.2761, allocations: 103.3 kB / 436.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.2765, allocations: 300.2 kB / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2765, allocations: 0 / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.2766, allocations: 4 kB / 436.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2766, allocations: 0 / 436.9 MB, free: 2.496 MB / 334.1 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.0009934/0.2776, allocations: 0.5931 MB / 437.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2776, allocations: 12.92 kB / 437.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.2777, allocations: 28.75 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.2781, allocations: 319.7 kB / 437.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.2781, allocations: 16.3 kB / 437.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.2782, allocations: 16.12 kB / 437.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.2788, allocations: 326.7 kB / 438.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2788, allocations: 0 / 438.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.2788, allocations: 4 kB / 438.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2788, allocations: 4 kB / 438.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.279, allocations: 67.95 kB / 438.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.2796, allocations: 426.2 kB / 438.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.28, allocations: 188 kB / 438.9 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2801, allocations: 86.53 kB / 439 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2802, allocations: 7.938 kB / 439 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.2803, allocations: 75.38 kB / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.2803, allocations: 0 / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006033/0.281, allocations: 261.5 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.2811, allocations: 174.6 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.2815, allocations: 346.9 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2816, allocations: 37.69 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2817, allocations: 136.6 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.2817, allocations: 27.78 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.2818, allocations: 61.83 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.282, allocations: 346.7 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.2821, allocations: 44.45 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.2823, allocations: 186.9 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.2826, allocations: 207.2 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2826, allocations: 0 / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004068/0.283, allocations: 237.2 kB / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.283, allocations: 8 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.283, allocations: 4 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2831, allocations: 11.94 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2832, allocations: 35.92 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.2832, allocations: 15.86 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2833, allocations: 16.36 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.2834, allocations: 16 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001917/0.2836, allocations: 179.9 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.2838, allocations: 137.4 kB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.2841, allocations: 131.4 kB / 441.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2841, allocations: 0 / 441.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.2841, allocations: 8.312 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2841, allocations: 0 / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.2844, allocations: 277.4 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2844, allocations: 4 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2845, allocations: 23.98 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.2845, allocations: 4 kB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2845, allocations: 7.984 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2845, allocations: 4 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2845, allocations: 3.938 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.2849, allocations: 246.9 kB / 442.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.2851, allocations: 124.9 kB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.2851, allocations: 4 kB / 442.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.2852, allocations: 8 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.2853, allocations: 15.92 kB / 442.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.2853, allocations: 12.08 kB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002815/0.2856, allocations: 253.9 kB / 442.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2856, allocations: 4 kB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.2859, allocations: 55.92 kB / 442.6 MB, free: 12.22 MB / 350.1 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 (22): * Single equations (assignments): 20 * 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.001515/0.2874, allocations: 444.4 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.2878, allocations: 144.5 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2878, allocations: 4.312 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.2879, allocations: 27.92 kB / 443.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.2884, allocations: 115.3 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008723/0.2893, allocations: 0.5033 MB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.2897, allocations: 0.7714 MB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.2898, allocations: 27.44 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2898, allocations: 0 / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Templates: time 0.007428/0.2972, allocations: 3.69 MB / 448.4 MB, free: 6.609 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.483769756741822]