Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007375/0.0007375, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009969/0.001734, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006328/0.0006328, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008346/0.001467, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9137/0.9137, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08286/0.9965, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.38e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00287/0.002893, allocations: 2.067 MB / 241.6 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.004265, allocations: 1.117 MB / 242.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.004377, allocations: 7.938 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.004792, allocations: 151.4 kB / 242.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.004996, allocations: 123.4 kB / 243 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.005441, allocations: 239.1 kB / 243.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.005661, allocations: 219.3 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.005759, allocations: 42.42 kB / 243.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.005926, allocations: 163.6 kB / 243.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.006029, allocations: 79.77 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.006052, allocations: 12 kB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.006172, allocations: 67.89 kB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.006229, allocations: 43.8 kB / 243.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.006279, allocations: 43.81 kB / 243.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.006508, allocations: 171.3 kB / 244.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.00652, allocations: 0 / 244.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006522, allocations: 4 kB / 244.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.006538, allocations: 0 / 244.1 MB, free: 14.63 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.0005325/0.007071, allocations: 496.8 kB / 244.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.007097, allocations: 8.031 kB / 244.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.007141, allocations: 28.91 kB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.007369, allocations: 217.5 kB / 244.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.007391, allocations: 12.36 kB / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.007404, allocations: 16.38 kB / 244.8 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.007664, allocations: 244.1 kB / 245.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007673, allocations: 3.938 kB / 245.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.007682, allocations: 4 kB / 245.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.007688, allocations: 4 kB / 245.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.007737, allocations: 42.67 kB / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.007978, allocations: 215.4 kB / 245.3 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.008121, allocations: 174.6 kB / 245.5 MB, free: 13.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.008165, allocations: 50.55 kB / 245.6 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.008191, allocations: 11.92 kB / 245.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.537e-05/0.008286, allocations: 66.2 kB / 245.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.008288, allocations: 3.938 kB / 245.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001679/0.008456, allocations: 133.6 kB / 245.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.008508, allocations: 122.7 kB / 245.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.008645, allocations: 230.7 kB / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.008661, allocations: 33.7 kB / 246.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.008702, allocations: 108.5 kB / 246.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.008727, allocations: 27.83 kB / 246.3 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.008763, allocations: 37.62 kB / 246.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.008835, allocations: 326.8 kB / 246.6 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.008853, allocations: 18.81 kB / 246.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.0089, allocations: 87.69 kB / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.008958, allocations: 78.75 kB / 246.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.008961, allocations: 3.984 kB / 246.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.616e-05/0.009058, allocations: 100.2 kB / 246.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.009069, allocations: 8 kB / 246.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009073, allocations: 4.156 kB / 246.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.009084, allocations: 4 kB / 246.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.009145, allocations: 15.98 kB / 246.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.009148, allocations: 4 kB / 246.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.009184, allocations: 8 kB / 247 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.00919, allocations: 4 kB / 247 MB, free: 11.45 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.087e-05/0.009261, allocations: 132.6 kB / 247.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.00933, allocations: 93.52 kB / 247.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.009417, allocations: 75.44 kB / 247.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.00942, allocations: 11.94 kB / 247.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009421, allocations: 0 / 247.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.009425, allocations: 0 / 247.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.544e-05/0.009521, allocations: 117.7 kB / 247.4 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009522, allocations: 0 / 247.4 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.009551, allocations: 12.3 kB / 247.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.009597, allocations: 43.66 kB / 247.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.009601, allocations: 7.984 kB / 247.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.00961, allocations: 8 kB / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.009612, allocations: 4 kB / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.009613, allocations: 0 / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.199e-05/0.009685, allocations: 104.9 kB / 247.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.009706, allocations: 7.938 kB / 247.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.701e-05/0.009743, allocations: 11.98 kB / 247.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.009767, allocations: 4 kB / 247.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.009779, allocations: 11.98 kB / 247.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.76e-05/0.009837, allocations: 81.61 kB / 247.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009837, allocations: 0 / 247.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.009978, allocations: 32 kB / 247.7 MB, free: 10.64 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.001157/0.01114, allocations: 0.5782 MB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.01125, allocations: 80.62 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.01125, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.01128, allocations: 16.86 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.0115, allocations: 125.4 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.01201, allocations: 361.4 kB / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01207, allocations: 96.31 kB / 248.9 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.01211, allocations: 26.31 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.0122, allocations: 91.34 kB / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0122, allocations: 0 / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of Templates: time 0.005018/0.01721, allocations: 3.402 MB / 252.5 MB, free: 6.152 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.566796189174056]