Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0007536/0.0007536, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.00188, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007722/0.0007722, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009581/0.00173, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9425/0.9425, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08457/1.027, allocations: 53.64 MB / 243.3 MB, free: 15.6 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.343e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002682/0.002695, allocations: 2.1 MB / 246.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006661/0.009357, allocations: 1.25 MB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.009473, allocations: 3.938 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.009892, allocations: 151.4 kB / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.0102, allocations: 175.2 kB / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.01067, allocations: 209.9 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.01092, allocations: 227.3 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.01102, allocations: 34.53 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.01123, allocations: 179.4 kB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.01134, allocations: 79.72 kB / 248.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.01136, allocations: 16 kB / 248.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.01448, allocations: 63.89 kB / 249 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.01456, allocations: 47.86 kB / 249 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.01462, allocations: 43.81 kB / 249.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.01487, allocations: 179.3 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.01488, allocations: 0 / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01488, allocations: 0 / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.0149, allocations: 0 / 249.2 MB, free: 9.582 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.0005875/0.01548, allocations: 0.4929 MB / 249.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.01552, allocations: 8.031 kB / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.01557, allocations: 28.92 kB / 249.8 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.01583, allocations: 229.4 kB / 250 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.01585, allocations: 8.375 kB / 250 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.01587, allocations: 12.38 kB / 250 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.01618, allocations: 251.3 kB / 250.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01619, allocations: 3.938 kB / 250.3 MB, free: 8.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.0162, allocations: 4 kB / 250.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.01621, allocations: 4 kB / 250.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.01627, allocations: 34.73 kB / 250.3 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.01654, allocations: 207.6 kB / 250.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.0167, allocations: 174.4 kB / 250.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.01676, allocations: 54.55 kB / 250.7 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.01678, allocations: 11.94 kB / 250.7 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.404e-05/0.01688, allocations: 70.33 kB / 250.8 MB, free: 7.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.01688, allocations: 0 / 250.8 MB, free: 7.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001971/0.01708, allocations: 137.5 kB / 251 MB, free: 7.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.01713, allocations: 118.8 kB / 251.1 MB, free: 7.578 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01731, allocations: 238.6 kB / 251.3 MB, free: 7.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.01733, allocations: 33.7 kB / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.01931, allocations: 109 kB / 251.4 MB, free: 7.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.01935, allocations: 27.83 kB / 251.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.01941, allocations: 37.69 kB / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.01949, allocations: 338.8 kB / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.01951, allocations: 10.83 kB / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.01956, allocations: 83.64 kB / 251.9 MB, free: 6.648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.01962, allocations: 78.73 kB / 252 MB, free: 6.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01962, allocations: 0 / 252 MB, free: 6.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.477e-05/0.01972, allocations: 100.3 kB / 252.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01973, allocations: 6.969 kB / 252.1 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01974, allocations: 0 / 252.1 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.01974, allocations: 4 kB / 252.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.01981, allocations: 28.08 kB / 252.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01981, allocations: 4 kB / 252.1 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.01985, allocations: 7.938 kB / 252.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.01986, allocations: 8 kB / 252.2 MB, free: 6.391 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.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.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.797e-05/0.01993, allocations: 132.9 kB / 252.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.02, allocations: 89.53 kB / 252.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.316e-05/0.0201, allocations: 83.38 kB / 252.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.0201, allocations: 4 kB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0201, allocations: 0 / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.02011, allocations: 11.98 kB / 252.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.0202, allocations: 109.8 kB / 252.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0202, allocations: 0 / 252.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.02024, allocations: 23.92 kB / 252.6 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.0203, allocations: 35.72 kB / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.0203, allocations: 0 / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.02031, allocations: 8 kB / 252.6 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.02031, allocations: 0 / 252.6 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02031, allocations: 0 / 252.6 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.794e-05/0.02039, allocations: 108.4 kB / 252.8 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.02041, allocations: 11.94 kB / 252.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.02045, allocations: 8 kB / 252.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.02048, allocations: 11.98 kB / 252.8 MB, free: 5.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.02049, allocations: 4 kB / 252.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.493e-05/0.02055, allocations: 89.58 kB / 252.9 MB, free: 5.605 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02055, allocations: 0 / 252.9 MB, free: 5.605 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.0207, allocations: 39.94 kB / 252.9 MB, free: 5.566 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,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.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.00122/0.02192, allocations: 0.5636 MB / 253.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.02204, allocations: 76.56 kB / 253.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.02205, allocations: 4 kB / 253.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/0.02208, allocations: 20.84 kB / 253.6 MB, free: 5.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.02231, allocations: 120 kB / 253.7 MB, free: 5.051 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.02281, allocations: 384.8 kB / 254.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.02285, allocations: 92.31 kB / 254.2 MB, free: 4.531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.0229, allocations: 30.62 kB / 254.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.02299, allocations: 95.28 kB / 254.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02299, allocations: 0 / 254.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of Templates: time 0.004706/0.0277, allocations: 3.437 MB / 257.7 MB, free: 1.023 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.725111930631101]