Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007268/0.008412, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002713, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09184/1.134, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.888e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002604/0.002623, allocations: 2.076 MB / 246.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004374, allocations: 1.343 MB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.004508, allocations: 3.938 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.004741, allocations: 83.47 kB / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.005028, allocations: 139.2 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.005643, allocations: 273.6 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.005929, allocations: 223.3 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.006043, allocations: 38.53 kB / 248.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.00623, allocations: 160.4 kB / 249 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.006373, allocations: 91.7 kB / 249.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.0064, allocations: 12 kB / 249.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.006568, allocations: 79.88 kB / 249.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.006635, allocations: 59.78 kB / 249.3 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.006685, allocations: 35.88 kB / 249.3 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.006963, allocations: 215.1 kB / 249.5 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.006974, allocations: 0 / 249.5 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006974, allocations: 0 / 249.5 MB, free: 9.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.006985, allocations: 3.938 kB / 249.5 MB, free: 9.41 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.0006536/0.007638, allocations: 0.5317 MB / 250 MB, free: 8.848 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.007676, allocations: 12.02 kB / 250 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.007734, allocations: 24.92 kB / 250.1 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.008003, allocations: 229.8 kB / 250.3 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.008031, allocations: 12.38 kB / 250.3 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.008055, allocations: 24.11 kB / 250.3 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.008399, allocations: 270.2 kB / 250.6 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.008408, allocations: 0 / 250.6 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.00842, allocations: 0 / 250.6 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.008428, allocations: 8 kB / 250.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.12e-05/0.008489, allocations: 41.56 kB / 250.6 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.008787, allocations: 226.2 kB / 250.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.008968, allocations: 180.4 kB / 251 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.00902, allocations: 50.55 kB / 251.1 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.009041, allocations: 8 kB / 251.1 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.009143, allocations: 74.12 kB / 251.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.009144, allocations: 4 kB / 251.2 MB, free: 7.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002046/0.009349, allocations: 133.6 kB / 251.3 MB, free: 7.438 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.009411, allocations: 122.7 kB / 251.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.009591, allocations: 280.6 kB / 251.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.00961, allocations: 29.7 kB / 251.7 MB, free: 6.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.009656, allocations: 105.1 kB / 251.8 MB, free: 6.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.009681, allocations: 27.83 kB / 251.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.009723, allocations: 37.69 kB / 251.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.009811, allocations: 338.7 kB / 252.2 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.009832, allocations: 18.81 kB / 252.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.00989, allocations: 87.69 kB / 252.3 MB, free: 6.324 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.00996, allocations: 78.66 kB / 252.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.009962, allocations: 0 / 252.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001076/0.01007, allocations: 108.5 kB / 252.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01008, allocations: 4 kB / 252.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01009, allocations: 8.297 kB / 252.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.0101, allocations: 0 / 252.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.01019, allocations: 23.98 kB / 252.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01019, allocations: 7.875 kB / 252.6 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.01024, allocations: 15.89 kB / 252.6 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.01025, allocations: 7.984 kB / 252.6 MB, free: 6.047 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 9.062e-05/0.01034, allocations: 128.6 kB / 252.7 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.01043, allocations: 89.66 kB / 252.8 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.01054, allocations: 95.44 kB / 252.9 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01055, allocations: 4 kB / 252.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01055, allocations: 0 / 252.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01055, allocations: 0 / 252.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.01066, allocations: 121.7 kB / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01067, allocations: 7.938 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.01075, allocations: 27.98 kB / 253 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.0108, allocations: 39.8 kB / 253.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.0108, allocations: 0 / 253.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01082, allocations: 11.98 kB / 253.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01082, allocations: 4 kB / 253.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.01082, allocations: 7.938 kB / 253.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.205e-05/0.01091, allocations: 111.2 kB / 253.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01094, allocations: 11.98 kB / 253.2 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.01098, allocations: 4 kB / 253.2 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.01102, allocations: 7.984 kB / 253.2 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.01103, allocations: 8 kB / 253.2 MB, free: 5.305 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.47e-05/0.01112, allocations: 103.5 kB / 253.3 MB, free: 5.199 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01112, allocations: 0 / 253.3 MB, free: 5.199 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.01129, allocations: 47.92 kB / 253.4 MB, free: 5.152 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.001301/0.01259, allocations: 0.588 MB / 254 MB, free: 4.836 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01272, allocations: 76.7 kB / 254.1 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.01272, allocations: 4 kB / 254.1 MB, free: 4.754 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.01277, allocations: 33.23 kB / 254.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.01313, allocations: 442.3 kB / 254.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.01372, allocations: 414.6 kB / 254.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.01377, allocations: 100.3 kB / 255 MB, free: 3.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.01383, allocations: 30.47 kB / 255.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.01395, allocations: 87.36 kB / 255.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01395, allocations: 0 / 255.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of Templates: time 0.005719/0.01967, allocations: 3.923 MB / 259.1 MB, free: 15.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.94426142051816]