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.0008923/0.0008923, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002109, allocations: 445.8 kB / 10.44 MB, free: 256 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.000733/0.000733, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001743, allocations: 475.6 kB / 11.8 MB, free: 2.367 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 1.012/1.012, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.221/1.233, allocations: 52.49 MB / 238.5 MB, free: 7.633 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.983e-06/1.983e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.329e-05, allocations: 2.312 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002839/0.002862, allocations: 2.068 MB / 241.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.004296, allocations: 1.113 MB / 242.9 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.004422, allocations: 7.938 kB / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.004871, allocations: 149.9 kB / 243.1 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.005078, allocations: 127.4 kB / 243.2 MB, free: 2.906 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.005545, allocations: 248.5 kB / 243.4 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.005781, allocations: 220.2 kB / 243.7 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.005902, allocations: 38.47 kB / 243.7 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.006081, allocations: 156.7 kB / 243.9 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.006194, allocations: 79.77 kB / 243.9 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.006221, allocations: 15.94 kB / 243.9 MB, free: 2.164 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.006352, allocations: 66.97 kB / 244 MB, free: 2.102 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.00642, allocations: 47.86 kB / 244.1 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.006468, allocations: 43.86 kB / 244.1 MB, free: 2.012 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.006706, allocations: 175.2 kB / 244.3 MB, free: 1.84 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.006716, allocations: 0 / 244.3 MB, free: 1.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006716, allocations: 4 kB / 244.3 MB, free: 1.836 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.00673, allocations: 0 / 244.3 MB, free: 1.836 MB / 234.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.0006275/0.007357, allocations: 488.9 kB / 244.8 MB, free: 1.328 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.007391, allocations: 9.312 kB / 244.8 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.007446, allocations: 24.92 kB / 244.8 MB, free: 1.297 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.007703, allocations: 230.5 kB / 245 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.007726, allocations: 15.38 kB / 245 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.007745, allocations: 12.38 kB / 245 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.008046, allocations: 242.6 kB / 245.3 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.008058, allocations: 3.938 kB / 245.3 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.008069, allocations: 5.781 kB / 245.3 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.008077, allocations: 11.92 kB / 245.3 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.008125, allocations: 26.81 kB / 245.3 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.0084, allocations: 211.5 kB / 245.5 MB, free: 500 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.008569, allocations: 179.9 kB / 245.7 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.008618, allocations: 48.53 kB / 245.8 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.008641, allocations: 7.938 kB / 245.8 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.008743, allocations: 74.12 kB / 245.8 MB, free: 140 kB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.008744, allocations: 0 / 245.8 MB, free: 140 kB / 234.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001932/0.008937, allocations: 125.6 kB / 246 MB, free: 8 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.009008, allocations: 120.3 kB / 246.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.009157, allocations: 234.6 kB / 246.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.009176, allocations: 33.7 kB / 246.3 MB, free: 15.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.009223, allocations: 100.6 kB / 246.4 MB, free: 15.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.009247, allocations: 28.45 kB / 246.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.009286, allocations: 37.67 kB / 246.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.00938, allocations: 335.3 kB / 246.8 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.009401, allocations: 19.28 kB / 246.8 MB, free: 15.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/0.009457, allocations: 93.38 kB / 246.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.009519, allocations: 75.16 kB / 247 MB, free: 14.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009521, allocations: 0.8125 kB / 247 MB, free: 14.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.679e-05/0.009618, allocations: 106.2 kB / 247.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.009632, allocations: 4 kB / 247.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009637, allocations: 3.984 kB / 247.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.009652, allocations: 8.188 kB / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.009718, allocations: 20 kB / 247.2 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.009725, allocations: 7.938 kB / 247.2 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.009762, allocations: 7.984 kB / 247.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.009769, allocations: 4 kB / 247.2 MB, free: 14.68 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 8.165e-05/0.00985, allocations: 124.7 kB / 247.3 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.009927, allocations: 89.53 kB / 247.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.01002, allocations: 83.75 kB / 247.5 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01003, allocations: 4 kB / 247.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01003, allocations: 4 kB / 247.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.01004, allocations: 0 / 247.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.01014, allocations: 121.7 kB / 247.6 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01014, allocations: 0 / 247.6 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.01017, allocations: 8 kB / 247.6 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.01022, allocations: 39.72 kB / 247.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01022, allocations: 4 kB / 247.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.01023, allocations: 7.984 kB / 247.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01023, allocations: 7.938 kB / 247.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01023, allocations: 0 / 247.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.929e-05/0.01031, allocations: 100.5 kB / 247.8 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01034, allocations: 11.94 kB / 247.8 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.01038, allocations: 11.98 kB / 247.8 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.01041, allocations: 4 kB / 247.8 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.01042, allocations: 11.98 kB / 247.8 MB, free: 13.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.42e-05/0.01049, allocations: 81.61 kB / 247.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01049, allocations: 0 / 247.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.01063, allocations: 32 kB / 247.9 MB, free: 13.88 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.001285/0.01191, allocations: 0.5793 MB / 248.5 MB, free: 13.58 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.01204, allocations: 80.69 kB / 248.6 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.01205, allocations: 4 kB / 248.6 MB, free: 13.49 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.01209, allocations: 20.86 kB / 248.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.01242, allocations: 406.1 kB / 249 MB, free: 13.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.01302, allocations: 369.6 kB / 249.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.243e-05/0.01308, allocations: 92.31 kB / 249.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.01312, allocations: 22.48 kB / 249.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.01322, allocations: 99.27 kB / 249.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01322, allocations: 0 / 249.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of Templates: time 0.005293/0.01852, allocations: 3.411 MB / 253 MB, free: 9.043 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7429517917335033]