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.001103/0.001104, allocations: 117 kB / 18.39 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 204.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 60.44 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00418/0.1343, allocations: 2.008 MB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1366, allocations: 1.255 MB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1367, allocations: 4 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.1375, allocations: 159.4 kB / 362.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.1379, allocations: 155.3 kB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.1386, allocations: 218.8 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1389, allocations: 227.4 kB / 362.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1391, allocations: 52.27 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1392, allocations: 95.61 kB / 363 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1393, allocations: 99.48 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1394, allocations: 12 kB / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1395, allocations: 55.97 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.1396, allocations: 59.81 kB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.837e-05/0.1397, allocations: 83.42 kB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.1401, allocations: 263 kB / 363.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1401, allocations: 0 / 363.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1401, allocations: 0 / 363.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1401, allocations: 4 kB / 363.6 MB, free: 8.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.0008836/0.141, allocations: 0.5546 MB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1411, allocations: 12.03 kB / 364.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.1412, allocations: 28.56 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.1416, allocations: 282.8 kB / 364.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1416, allocations: 8.375 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1417, allocations: 24.12 kB / 364.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.1422, allocations: 298.3 kB / 364.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1423, allocations: 3.938 kB / 364.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1423, allocations: 4 kB / 364.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1423, allocations: 11.97 kB / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1424, allocations: 59.95 kB / 364.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.143, allocations: 394.2 kB / 365.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.1433, allocations: 168 kB / 365.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1435, allocations: 86.55 kB / 365.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1435, allocations: 7.984 kB / 365.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1437, allocations: 75.33 kB / 365.6 MB, free: 6.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.1437, allocations: 0 / 365.6 MB, free: 6.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004999/0.1442, allocations: 233.6 kB / 365.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1443, allocations: 148.5 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1446, allocations: 280.9 kB / 366.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1447, allocations: 33.7 kB / 366.3 MB, free: 5.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.1447, allocations: 116.7 kB / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1448, allocations: 27.64 kB / 366.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1449, allocations: 49.94 kB / 366.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.145, allocations: 338.8 kB / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.1451, allocations: 48.44 kB / 366.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1453, allocations: 163.7 kB / 367 MB, free: 4.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1455, allocations: 203.2 kB / 367.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1455, allocations: 0 / 367.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003423/0.1459, allocations: 225.1 kB / 367.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1459, allocations: 8 kB / 367.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1459, allocations: 4 kB / 367.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1459, allocations: 8 kB / 367.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.146, allocations: 19.92 kB / 367.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1461, allocations: 12.25 kB / 367.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1462, allocations: 20.28 kB / 367.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1462, allocations: 16 kB / 367.5 MB, free: 4.289 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.0001544/0.1464, allocations: 167.9 kB / 367.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.1466, allocations: 133.3 kB / 367.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/0.1466, allocations: 29.7 kB / 367.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1466, allocations: 0 / 367.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1466, allocations: 4 kB / 367.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1467, allocations: 3.938 kB / 367.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1469, allocations: 253.7 kB / 368.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1469, allocations: 4 kB / 368.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.147, allocations: 15.92 kB / 368.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.147, allocations: 4 kB / 368.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.147, allocations: 11.94 kB / 368.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.147, allocations: 0 / 368.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.147, allocations: 0 / 368.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1473, allocations: 233.4 kB / 368.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1475, allocations: 116.8 kB / 368.5 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1475, allocations: 8.094 kB / 368.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1476, allocations: 19.86 kB / 368.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1476, allocations: 4 kB / 368.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1476, allocations: 4 kB / 368.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1478, allocations: 204.5 kB / 368.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1478, allocations: 0 / 368.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.1482, allocations: 47.92 kB / 368.7 MB, free: 2.945 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.0009695/0.1491, allocations: 417 kB / 369.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1494, allocations: 144.6 kB / 369.3 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1495, allocations: 0 / 369.3 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1496, allocations: 28.19 kB / 369.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1501, allocations: 114.5 kB / 369.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.1507, allocations: 408.5 kB / 369.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1511, allocations: 0.7558 MB / 370.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.1512, allocations: 30.5 kB / 370.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.1513, allocations: 23.44 kB / 370.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1513, allocations: 0 / 370.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of Templates: time 0.2145/0.3658, allocations: 3.025 MB / 373.7 MB, free: 19.46 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 -s gbode -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