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.0008913/0.0008913, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.00222, 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.000869/0.000869, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002038, 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.01/1.01, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09575/1.106, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.573e-06/1.573e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.822e-05, allocations: 6.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003631/0.003659, allocations: 2.1 MB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.005283, allocations: 1.246 MB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.005444, allocations: 7.938 kB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.005962, allocations: 159.2 kB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.006306, allocations: 171.2 kB / 248.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.006872, allocations: 217.9 kB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.007173, allocations: 239.2 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.007292, allocations: 30.55 kB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.007503, allocations: 179.4 kB / 249 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.007632, allocations: 75.78 kB / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.00766, allocations: 12 kB / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.007826, allocations: 67.89 kB / 249.2 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.007899, allocations: 47.8 kB / 249.2 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.007951, allocations: 35.88 kB / 249.3 MB, free: 9.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.008305, allocations: 187.3 kB / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.008318, allocations: 0 / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008319, allocations: 0 / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.008333, allocations: 4 kB / 249.5 MB, free: 9.441 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.0008112/0.009144, allocations: 0.489 MB / 249.9 MB, free: 8.922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.009177, allocations: 12.03 kB / 250 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.009226, allocations: 24.92 kB / 250 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.009473, allocations: 225.4 kB / 250.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.009496, allocations: 12.38 kB / 250.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.009515, allocations: 12.38 kB / 250.2 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.009821, allocations: 248.2 kB / 250.5 MB, free: 8.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.009831, allocations: 3.938 kB / 250.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.009841, allocations: 12 kB / 250.5 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.009847, allocations: 0 / 250.5 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.009901, allocations: 30.75 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.01019, allocations: 207.6 kB / 250.7 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.01034, allocations: 170.4 kB / 250.9 MB, free: 7.883 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.01039, allocations: 54.67 kB / 250.9 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.01041, allocations: 11.94 kB / 250.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.765e-05/0.01051, allocations: 70.2 kB / 251 MB, free: 7.727 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.01051, allocations: 0 / 251 MB, free: 7.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001944/0.01071, allocations: 133.5 kB / 251.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.01076, allocations: 118.8 kB / 251.3 MB, free: 7.449 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01092, allocations: 246.6 kB / 251.5 MB, free: 7.195 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.01094, allocations: 29.7 kB / 251.5 MB, free: 7.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.01099, allocations: 112.9 kB / 251.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.01101, allocations: 23.83 kB / 251.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.01105, allocations: 41.69 kB / 251.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.01114, allocations: 330.8 kB / 252 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.01116, allocations: 18.81 kB / 252 MB, free: 6.625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.01122, allocations: 79.7 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.01129, allocations: 78.7 kB / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01129, allocations: 0 / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001056/0.0114, allocations: 108.7 kB / 252.3 MB, free: 6.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01141, allocations: 6.344 kB / 252.3 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01142, allocations: 4 kB / 252.3 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01143, allocations: 0 / 252.3 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.0115, allocations: 23.92 kB / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.0115, allocations: 0 / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.01154, allocations: 11.94 kB / 252.4 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.01155, allocations: 4 kB / 252.4 MB, free: 6.262 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.806e-05/0.01164, allocations: 132.6 kB / 252.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.01173, allocations: 97.56 kB / 252.6 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.63e-05/0.01182, allocations: 79.45 kB / 252.7 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01183, allocations: 4 kB / 252.7 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01183, allocations: 0 / 252.7 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01183, allocations: 3.984 kB / 252.7 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.01193, allocations: 113.8 kB / 252.8 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01194, allocations: 4 kB / 252.8 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.01197, allocations: 15.92 kB / 252.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.01202, allocations: 43.72 kB / 252.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01203, allocations: 4 kB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01203, allocations: 4 kB / 252.8 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.01204, allocations: 8 kB / 252.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01204, allocations: 0 / 252.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.317e-05/0.01212, allocations: 108.4 kB / 253 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.01214, allocations: 7.938 kB / 253 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.01218, allocations: 8 kB / 253 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.01221, allocations: 7.984 kB / 253 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.01222, allocations: 7.938 kB / 253 MB, free: 5.559 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.87e-05/0.01229, allocations: 85.61 kB / 253.1 MB, free: 5.469 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01229, allocations: 0 / 253.1 MB, free: 5.469 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000158/0.01245, allocations: 43.92 kB / 253.1 MB, free: 5.426 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.00119/0.01364, allocations: 0.5775 MB / 253.7 MB, free: 5.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.01378, allocations: 72.56 kB / 253.8 MB, free: 5.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.01379, allocations: 8 kB / 253.8 MB, free: 5.039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.01383, allocations: 28.83 kB / 253.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.01416, allocations: 393.7 kB / 254.2 MB, free: 4.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.01475, allocations: 373.2 kB / 254.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.985e-05/0.0148, allocations: 96.3 kB / 254.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.01485, allocations: 22.48 kB / 254.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.01494, allocations: 91.34 kB / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01495, allocations: 0 / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of Templates: time 0.005395/0.02034, allocations: 3.453 MB / 258.2 MB, free: 0.5469 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7053824039176106]