Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001978/0.001978, allocations: 119.4 kB / 18.41 MB, free: 4.613 MB / 14.72 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.002233/0.002234, allocations: 192.3 kB / 21.35 MB, free: 1.684 MB / 14.72 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.537/1.537, allocations: 222.9 MB / 247 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.92 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1198, allocations: 49.44 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.004077/0.1239, allocations: 1.961 MB / 410.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1264, allocations: 1.196 MB / 411.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1266, allocations: 7.938 kB / 411.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.1271, allocations: 71.59 kB / 411.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.1274, allocations: 99.52 kB / 411.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.1284, allocations: 290.6 kB / 411.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1287, allocations: 211.4 kB / 411.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.1289, allocations: 53.66 kB / 412 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.129, allocations: 99.55 kB / 412.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1292, allocations: 107.5 kB / 412.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.1293, allocations: 12 kB / 412.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1295, allocations: 67.97 kB / 412.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1296, allocations: 67.75 kB / 412.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1297, allocations: 95.34 kB / 412.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.1302, allocations: 290.7 kB / 412.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1302, allocations: 0 / 412.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1302, allocations: 0 / 412.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1302, allocations: 4 kB / 412.7 MB, free: 2.203 MB / 334.1 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.001077/0.1313, allocations: 0.597 MB / 413.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1314, allocations: 11.89 kB / 413.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.1315, allocations: 36.73 kB / 413.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.1319, allocations: 303.7 kB / 413.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.132, allocations: 12.38 kB / 413.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.132, allocations: 20.12 kB / 413.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.1326, allocations: 322.1 kB / 414 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1327, allocations: 0 / 414 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1327, allocations: 11.94 kB / 414 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1327, allocations: 0 / 414 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1329, allocations: 71.88 kB / 414.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.1336, allocations: 422.2 kB / 414.5 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.1341, allocations: 192 kB / 414.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.1343, allocations: 98.52 kB / 414.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.1343, allocations: 4 kB / 414.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1345, allocations: 79.55 kB / 414.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.714e-06/0.1345, allocations: 0 / 414.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006362/0.1352, allocations: 261.5 kB / 415.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.1353, allocations: 170.2 kB / 415.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.1358, allocations: 342.9 kB / 415.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1358, allocations: 33.7 kB / 415.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.136, allocations: 132.6 kB / 415.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.136, allocations: 31.84 kB / 415.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.1361, allocations: 49.94 kB / 415.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1363, allocations: 342.8 kB / 416.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1364, allocations: 44.44 kB / 416.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.1367, allocations: 188.5 kB / 416.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.137, allocations: 211.5 kB / 416.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.137, allocations: 0 / 416.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004664/0.1375, allocations: 241.1 kB / 416.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1375, allocations: 8 kB / 416.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1376, allocations: 4 kB / 416.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1376, allocations: 4 kB / 416.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1378, allocations: 43.91 kB / 416.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.1378, allocations: 11.94 kB / 416.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1379, allocations: 16.36 kB / 416.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.1379, allocations: 16 kB / 416.9 MB, free: 13.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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 0.0002346/0.1382, allocations: 179.9 kB / 417.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.1384, allocations: 137.8 kB / 417.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.1385, allocations: 37.73 kB / 417.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.1385, allocations: 7.938 kB / 417.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1386, allocations: 3.938 kB / 417.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1386, allocations: 3.984 kB / 417.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.1389, allocations: 261.5 kB / 417.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1389, allocations: 0 / 417.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.139, allocations: 35.97 kB / 417.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.139, allocations: 0 / 417.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1391, allocations: 4 kB / 417.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1391, allocations: 4.016 kB / 417.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.1391, allocations: 7.922 kB / 417.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.1396, allocations: 252 kB / 417.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1397, allocations: 132.8 kB / 418 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.1398, allocations: 12.06 kB / 418 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.1399, allocations: 7.984 kB / 418 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.1399, allocations: 11.92 kB / 418 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.14, allocations: 12 kB / 418 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.1403, allocations: 249.9 kB / 418.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1403, allocations: 0 / 418.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.1406, allocations: 47.94 kB / 418.3 MB, free: 12.04 MB / 350.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * 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.001676/0.1423, allocations: 449.4 kB / 418.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.1428, allocations: 152.6 kB / 418.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1428, allocations: 256 / 418.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.1429, allocations: 40.05 kB / 419 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.1435, allocations: 117.8 kB / 419.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/0.1445, allocations: 492.1 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.1451, allocations: 0.7751 MB / 420.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.1451, allocations: 23.44 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.117e-06/0.1452, allocations: 0 / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Templates: time 0.007579/0.1527, allocations: 3.629 MB / 424 MB, free: 6.492 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.7560403069946915]