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.000923/0.0009231, allocations: 101.1 kB / 17.01 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 193.6 kB / 17.91 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003071, allocations: 8 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002686/0.14, allocations: 1.665 MB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.142, allocations: 1.17 MB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1422, allocations: 7.938 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.1428, allocations: 131.6 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.1432, allocations: 131.5 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.1438, allocations: 179.1 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1441, allocations: 203.4 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1442, allocations: 52.25 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1443, allocations: 71.64 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1445, allocations: 79.61 kB / 362.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1445, allocations: 8 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1446, allocations: 47.91 kB / 362.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.1447, allocations: 47.83 kB / 362.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.1448, allocations: 57.58 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.145, allocations: 179.9 kB / 362.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1451, allocations: 0 / 362.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1451, allocations: 0 / 362.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1451, allocations: 0 / 362.6 MB, free: 9.633 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.0008038/0.1459, allocations: 0.5156 MB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1459, allocations: 15.97 kB / 363.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.146, allocations: 23.72 kB / 363.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1464, allocations: 281.5 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1464, allocations: 12 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1465, allocations: 15.98 kB / 363.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.1471, allocations: 289.6 kB / 363.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1471, allocations: 0 / 363.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.1471, allocations: 8 kB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1471, allocations: 7.938 kB / 363.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1473, allocations: 51.97 kB / 363.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.1478, allocations: 406.2 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1481, allocations: 172 kB / 364.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1483, allocations: 82.55 kB / 364.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1483, allocations: 4 kB / 364.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1485, allocations: 79.31 kB / 364.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.1485, allocations: 4 kB / 364.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004678/0.149, allocations: 217.3 kB / 364.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.1491, allocations: 148.4 kB / 364.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1494, allocations: 273 kB / 365.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1494, allocations: 37.69 kB / 365.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.1495, allocations: 120.6 kB / 365.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1495, allocations: 31.64 kB / 365.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.1495, allocations: 4 kB / 365.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1497, allocations: 342.8 kB / 365.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.1498, allocations: 36.45 kB / 365.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1499, allocations: 166 kB / 365.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.15, allocations: 63.97 kB / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.15, allocations: 384 / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003172/0.1504, allocations: 221 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1504, allocations: 8 kB / 366.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1504, allocations: 4 kB / 366.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1504, allocations: 8.469 kB / 366.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.1505, allocations: 31.92 kB / 366.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1506, allocations: 15.88 kB / 366.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1507, allocations: 15.98 kB / 366.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1507, allocations: 8 kB / 366.3 MB, free: 5.621 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 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,table1.y,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.1509, allocations: 172.7 kB / 366.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.151, allocations: 129.6 kB / 366.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.1511, allocations: 25.72 kB / 366.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1511, allocations: 11.98 kB / 366.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1511, allocations: 8 kB / 366.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1511, allocations: 0 / 366.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.1514, allocations: 253.3 kB / 366.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1514, allocations: 4 kB / 366.9 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.1514, allocations: 7.938 kB / 366.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1514, allocations: 4 kB / 366.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1514, allocations: 4 kB / 366.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1514, allocations: 7.984 kB / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1515, allocations: 0 / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.1518, allocations: 232.6 kB / 367.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1519, allocations: 116.8 kB / 367.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.1519, allocations: 11.94 kB / 367.3 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.152, allocations: 8 kB / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1521, allocations: 3.984 kB / 367.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1521, allocations: 8 kB / 367.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1523, allocations: 204.5 kB / 367.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1523, allocations: 0 / 367.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.1526, allocations: 47.98 kB / 367.5 MB, free: 4.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009509/0.1536, allocations: 427.1 kB / 367.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.1538, allocations: 147.9 kB / 368.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1539, allocations: 0 / 368.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/0.1539, allocations: 20 kB / 368.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.1544, allocations: 114.2 kB / 368.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.1551, allocations: 441.3 kB / 368.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1554, allocations: 0.756 MB / 369.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.656e-05/0.1555, allocations: 30.5 kB / 369.4 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1555, allocations: 31.42 kB / 369.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1555, allocations: 0 / 369.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of Templates: time 0.1988/0.3544, allocations: 2.764 MB / 372.2 MB, free: 18.82 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/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