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.006539/0.006539, allocations: 109.6 kB / 21.98 MB, free: 5.184 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.001696/0.001696, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.438/1.438, allocations: 230.6 MB / 259 MB, free: 8.016 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.002015/0.002015, allocations: 67.89 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2694, allocations: 53.36 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003726/0.2731, allocations: 2.017 MB / 435.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.2756, allocations: 1.368 MB / 436.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.2758, allocations: 7.938 kB / 436.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.2762, allocations: 75.58 kB / 436.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.2766, allocations: 147.4 kB / 436.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.2774, allocations: 266.5 kB / 437 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.2777, allocations: 227.4 kB / 437.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2778, allocations: 32.58 kB / 437.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.278, allocations: 103.5 kB / 437.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2782, allocations: 111.5 kB / 437.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.2782, allocations: 16 kB / 437.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.2784, allocations: 71.95 kB / 437.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.2785, allocations: 79.73 kB / 437.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2786, allocations: 99.23 kB / 437.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.279, allocations: 296.1 kB / 438 MB, free: 2.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.279, allocations: 0 / 438 MB, free: 2.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.279, allocations: 0 / 438 MB, free: 2.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.279, allocations: 0 / 438 MB, free: 2.082 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.0009516/0.28, allocations: 0.5294 MB / 438.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.28, allocations: 12.03 kB / 438.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.2801, allocations: 28.75 kB / 438.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.2805, allocations: 258.5 kB / 438.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.2806, allocations: 20.3 kB / 438.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.2806, allocations: 16.12 kB / 438.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.2812, allocations: 307.3 kB / 439.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2812, allocations: 0 / 439.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2812, allocations: 12 kB / 439.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2812, allocations: 4 kB / 439.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2814, allocations: 67.91 kB / 439.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.282, allocations: 385.4 kB / 439.7 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.2824, allocations: 195.9 kB / 439.8 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.2826, allocations: 86.53 kB / 439.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2827, allocations: 0 / 439.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.2829, allocations: 91.31 kB / 440 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.2829, allocations: 0 / 440 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005719/0.2834, allocations: 245.6 kB / 440.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.2836, allocations: 174.1 kB / 440.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.284, allocations: 360.1 kB / 440.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.284, allocations: 29.7 kB / 440.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2841, allocations: 132.6 kB / 440.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.2841, allocations: 35.78 kB / 441 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.2842, allocations: 57.88 kB / 441 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2844, allocations: 342.8 kB / 441.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.2845, allocations: 36.45 kB / 441.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2847, allocations: 197.3 kB / 441.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.285, allocations: 207.6 kB / 441.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.285, allocations: 7.938 kB / 441.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004105/0.2854, allocations: 233.5 kB / 442 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2854, allocations: 8 kB / 442 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2855, allocations: 11.97 kB / 442.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2855, allocations: 4 kB / 442.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2856, allocations: 43.92 kB / 442.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.2856, allocations: 11.92 kB / 442.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2858, allocations: 19.89 kB / 442.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2858, allocations: 12 kB / 442.1 MB, free: 13.6 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.0001903/0.286, allocations: 172.1 kB / 442.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.2862, allocations: 145.4 kB / 442.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.2865, allocations: 127.4 kB / 442.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2865, allocations: 4.375 kB / 442.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2865, allocations: 3.938 kB / 442.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2865, allocations: 0 / 442.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2868, allocations: 248.5 kB / 442.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2868, allocations: 4 kB / 442.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2869, allocations: 31.92 kB / 442.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2869, allocations: 0 / 442.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.287, allocations: 11.98 kB / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.287, allocations: 0 / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.287, allocations: 7.938 kB / 442.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.2874, allocations: 238.5 kB / 443.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.2875, allocations: 55.72 kB / 443.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.2875, allocations: 4 kB / 443.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.2876, allocations: 12 kB / 443.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.2877, allocations: 15.86 kB / 443.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.2877, allocations: 15.98 kB / 443.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.288, allocations: 255 kB / 443.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.288, allocations: 0 / 443.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.2883, allocations: 48 kB / 443.5 MB, free: 12.14 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.001555/0.2899, allocations: 449.9 kB / 444 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003626/0.2902, allocations: 145.8 kB / 444.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2902, allocations: 0 / 444.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/0.2903, allocations: 23.98 kB / 444.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.2908, allocations: 126.6 kB / 444.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.2917, allocations: 0.4994 MB / 444.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2921, allocations: 0.7675 MB / 445.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.2921, allocations: 27.44 kB / 445.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2921, allocations: 4 kB / 445.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Templates: time 0.007197/0.2993, allocations: 3.697 MB / 449.2 MB, free: 6.516 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.570576771860942]