Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001418/0.001418, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 163.9 kB / 24.5 MB, free: 3.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 65.64 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1194, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.004017/0.1234, allocations: 1.956 MB / 380.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1258, allocations: 1.274 MB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1259, allocations: 11.94 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.1263, allocations: 67.59 kB / 382.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.1267, allocations: 147.4 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.1275, allocations: 274.8 kB / 382.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1278, allocations: 227.4 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1279, allocations: 32.52 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1281, allocations: 103.5 kB / 383 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1283, allocations: 99.53 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1283, allocations: 16 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.1285, allocations: 75.94 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.1286, allocations: 71.75 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1287, allocations: 79.41 kB / 383.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.1291, allocations: 298.8 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1291, allocations: 0 / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1291, allocations: 4 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1291, allocations: 0 / 383.6 MB, free: 10.77 MB / 350.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.000906/0.13, allocations: 0.5217 MB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1301, allocations: 11.98 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.1302, allocations: 32.75 kB / 384.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.1306, allocations: 254.5 kB / 384.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1306, allocations: 8.375 kB / 384.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1306, allocations: 20.38 kB / 384.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.1312, allocations: 346.3 kB / 384.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1312, allocations: 4 kB / 384.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1313, allocations: 8 kB / 384.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1313, allocations: 3.938 kB / 384.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1314, allocations: 75.89 kB / 384.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.132, allocations: 334 kB / 385.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.1324, allocations: 195.9 kB / 385.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.1325, allocations: 82.55 kB / 385.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1326, allocations: 8.219 kB / 385.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.1327, allocations: 95.3 kB / 385.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.1327, allocations: 0 / 385.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005657/0.1333, allocations: 249.4 kB / 385.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.1334, allocations: 148.5 kB / 386 MB, free: 8.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.1338, allocations: 360.1 kB / 386.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1339, allocations: 29.7 kB / 386.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.134, allocations: 128.6 kB / 386.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.134, allocations: 27.84 kB / 386.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.1341, allocations: 57.88 kB / 386.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1342, allocations: 346.8 kB / 386.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.576e-05/0.1343, allocations: 44.44 kB / 386.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.1346, allocations: 241.4 kB / 387.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1349, allocations: 207.3 kB / 387.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1349, allocations: 0 / 387.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004023/0.1353, allocations: 241.1 kB / 387.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1353, allocations: 11.94 kB / 387.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1353, allocations: 4 kB / 387.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1353, allocations: 4 kB / 387.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1355, allocations: 40.45 kB / 387.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1355, allocations: 8 kB / 387.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1356, allocations: 19.92 kB / 387.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.1357, allocations: 16 kB / 387.7 MB, free: 6.281 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.0001776/0.1358, allocations: 175.6 kB / 387.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.1361, allocations: 149.7 kB / 388 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.1364, allocations: 131.8 kB / 388.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1364, allocations: 7.938 kB / 388.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1364, allocations: 0 / 388.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1364, allocations: 8 kB / 388.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1366, allocations: 197.1 kB / 388.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1366, allocations: 0 / 388.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1367, allocations: 31.92 kB / 388.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1367, allocations: 3.984 kB / 388.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1367, allocations: 8 kB / 388.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1367, allocations: 0 / 388.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1367, allocations: 480 / 388.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.1372, allocations: 251.2 kB / 388.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1373, allocations: 59.72 kB / 388.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1374, allocations: 8 kB / 388.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.1374, allocations: 11.98 kB / 388.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1375, allocations: 15.92 kB / 388.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1375, allocations: 8 kB / 388.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.1378, allocations: 259 kB / 389 MB, free: 4.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1378, allocations: 0 / 389 MB, free: 4.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.1381, allocations: 51.92 kB / 389.1 MB, free: 4.852 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.nextTimeEvent,table.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.001623/0.1397, allocations: 454.8 kB / 389.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.1401, allocations: 159.9 kB / 389.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1401, allocations: 0 / 389.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.1402, allocations: 27.98 kB / 389.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.1407, allocations: 140.4 kB / 389.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.1414, allocations: 473.8 kB / 390.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.1416, allocations: 157.5 kB / 390.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.149e-05/0.1417, allocations: 38.66 kB / 390.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.1418, allocations: 32.48 kB / 390.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1418, allocations: 0 / 390.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of Templates: time 0.008274/0.15, allocations: 3.757 MB / 394.3 MB, free: 15.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.510643939021975]