Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.3 MB / 246.9 MB, free: 8.891 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 63.73 kB / 306.9 MB, free: 0.7539 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1184, allocations: 50.53 MB / 357.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003709/0.1221, allocations: 2.063 MB / 359.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1242, allocations: 1.235 MB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1244, allocations: 7.938 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.125, allocations: 139.6 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.1254, allocations: 135.6 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.126, allocations: 187 kB / 361.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1263, allocations: 219.4 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1265, allocations: 60.25 kB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1266, allocations: 83.58 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1268, allocations: 95.53 kB / 361.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1268, allocations: 7.938 kB / 361.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.127, allocations: 51.97 kB / 361.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.1271, allocations: 47.83 kB / 361.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1272, allocations: 95.34 kB / 361.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1274, allocations: 191.9 kB / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1274, allocations: 0 / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1274, allocations: 0 / 362 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1274, allocations: 0 / 362 MB, free: 9.609 MB / 302.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.0007646/0.1282, allocations: 0.5468 MB / 362.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1282, allocations: 8.031 kB / 362.6 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.1283, allocations: 32.55 kB / 362.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1287, allocations: 278.8 kB / 362.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1287, allocations: 12.38 kB / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1287, allocations: 16.12 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.1293, allocations: 309.7 kB / 363.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1293, allocations: 0 / 363.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1293, allocations: 0 / 363.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1293, allocations: 4 kB / 363.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1295, allocations: 67.84 kB / 363.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.13, allocations: 386.3 kB / 363.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.1304, allocations: 176 kB / 363.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1305, allocations: 86.48 kB / 363.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1305, allocations: 4.062 kB / 363.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.1307, allocations: 75.39 kB / 364 MB, free: 7.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.1307, allocations: 0 / 364 MB, free: 7.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004939/0.1312, allocations: 229.2 kB / 364.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.1313, allocations: 144.5 kB / 364.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1316, allocations: 284.9 kB / 364.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1317, allocations: 25.7 kB / 364.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.1318, allocations: 116.7 kB / 364.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1318, allocations: 39.62 kB / 364.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.1319, allocations: 53.92 kB / 364.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.132, allocations: 338.8 kB / 365.2 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.1321, allocations: 40.44 kB / 365.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1323, allocations: 162.1 kB / 365.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1325, allocations: 207.5 kB / 365.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1326, allocations: 0 / 365.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003535/0.1329, allocations: 221 kB / 365.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1329, allocations: 8 kB / 365.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.133, allocations: 4 kB / 365.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.133, allocations: 7.984 kB / 365.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.1331, allocations: 31.86 kB / 365.9 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1331, allocations: 8.531 kB / 365.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1332, allocations: 23.84 kB / 365.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1332, allocations: 8 kB / 365.9 MB, free: 5.309 MB / 302.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.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,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.0001477/0.1334, allocations: 167.9 kB / 366.1 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.1336, allocations: 125.6 kB / 366.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.1336, allocations: 29.7 kB / 366.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1336, allocations: 0 / 366.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1337, allocations: 4 kB / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1337, allocations: 7.938 kB / 366.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.1339, allocations: 253.4 kB / 366.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1339, allocations: 0 / 366.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.1339, allocations: 11.92 kB / 366.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1339, allocations: 8.406 kB / 366.5 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.134, allocations: 4 kB / 366.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.134, allocations: 4.078 kB / 366.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.134, allocations: 3.984 kB / 366.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.1343, allocations: 235.3 kB / 366.7 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1344, allocations: 120.8 kB / 366.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.1345, allocations: 8 kB / 366.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.1346, allocations: 7.984 kB / 366.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1346, allocations: 4 kB / 366.9 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1346, allocations: 11.98 kB / 366.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1348, allocations: 204.5 kB / 367.1 MB, free: 4.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1348, allocations: 4 kB / 367.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.1351, allocations: 43.94 kB / 367.1 MB, free: 3.969 MB / 302.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,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.nextTimeEventScaled,table1.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.0009098/0.1361, allocations: 429.3 kB / 367.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.1364, allocations: 140.8 kB / 367.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1364, allocations: 0 / 367.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.1365, allocations: 27.98 kB / 367.7 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.1369, allocations: 109.5 kB / 367.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.1376, allocations: 491 kB / 368.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1379, allocations: 0.7638 MB / 369.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.138, allocations: 23.44 kB / 369.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.138, allocations: 0 / 369.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of Templates: time 0.1417/0.2798, allocations: 3.257 MB / 372.4 MB, free: 19.21 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches