Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009107/0.0009108, allocations: 99.09 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 192.9 kB / 17.9 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.635/1.635, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002601, allocations: 8 kB / 307.1 MB, free: 1.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 51.52 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002847/0.1383, allocations: 1.576 MB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1403, allocations: 1.1 MB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1405, allocations: 7.938 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.1411, allocations: 131.6 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.1415, allocations: 127.6 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.1421, allocations: 135.7 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.1423, allocations: 167.5 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1425, allocations: 29.53 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1427, allocations: 67.64 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1428, allocations: 63.69 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1429, allocations: 8 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.143, allocations: 39.97 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1431, allocations: 35.84 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.1431, allocations: 53.58 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1434, allocations: 159.9 kB / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1434, allocations: 0 / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1434, allocations: 0 / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1434, allocations: 0 / 362.3 MB, free: 9.91 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000795/0.1442, allocations: 496.1 kB / 362.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1443, allocations: 8.031 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.1443, allocations: 27.66 kB / 362.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1447, allocations: 253.7 kB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1447, allocations: 11.98 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1447, allocations: 4 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1451, allocations: 158.2 kB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1451, allocations: 4 kB / 363.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1451, allocations: 4 kB / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1451, allocations: 0 / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1452, allocations: 31.92 kB / 363.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.1458, allocations: 366.4 kB / 363.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.146, allocations: 107.9 kB / 363.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.1461, allocations: 50.5 kB / 363.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1461, allocations: 4 kB / 363.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1463, allocations: 71.39 kB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1463, allocations: 0 / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000355/0.1467, allocations: 141.5 kB / 364 MB, free: 7.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.1468, allocations: 132.5 kB / 364.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1471, allocations: 276.9 kB / 364.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1471, allocations: 29.7 kB / 364.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.1472, allocations: 112.1 kB / 364.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1473, allocations: 19.75 kB / 364.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1473, allocations: 3.938 kB / 364.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1474, allocations: 334.9 kB / 364.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.1475, allocations: 20 kB / 364.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.1476, allocations: 73.86 kB / 365 MB, free: 6.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.1477, allocations: 39.92 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1477, allocations: 0 / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.1479, allocations: 109.4 kB / 365.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1479, allocations: 7.938 kB / 365.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1479, allocations: 4 kB / 365.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1479, allocations: 0 / 365.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.148, allocations: 15.98 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.148, allocations: 0 / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.1481, allocations: 12.44 kB / 365.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1481, allocations: 4 kB / 365.2 MB, free: 6.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001404/0.1483, allocations: 157.7 kB / 365.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.1484, allocations: 61.41 kB / 365.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.1484, allocations: 17.72 kB / 365.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1484, allocations: 4 kB / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1485, allocations: 0 / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1485, allocations: 3.984 kB / 365.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1487, allocations: 229.7 kB / 365.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1487, allocations: 3.953 kB / 365.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.1487, allocations: 7.938 kB / 365.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1487, allocations: 3.984 kB / 365.7 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1488, allocations: 4 kB / 365.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1488, allocations: 0 / 365.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1488, allocations: 0 / 365.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.149, allocations: 158.5 kB / 365.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.1491, allocations: 116.8 kB / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1492, allocations: 4 kB / 365.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.1492, allocations: 7.984 kB / 365.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1493, allocations: 4 kB / 365.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1493, allocations: 8 kB / 366 MB, free: 5.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1495, allocations: 192.5 kB / 366.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1495, allocations: 8 kB / 366.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1498, allocations: 27.98 kB / 366.2 MB, free: 5.613 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001001/0.1508, allocations: 417.8 kB / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.151, allocations: 71.84 kB / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.151, allocations: 0 / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.376e-05/0.1511, allocations: 23.98 kB / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1515, allocations: 53.78 kB / 366.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.1521, allocations: 351.2 kB / 367.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1525, allocations: 0.736 MB / 367.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.764e-05/0.1526, allocations: 25.53 kB / 367.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.1526, allocations: 15.44 kB / 367.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1526, allocations: 4 kB / 367.9 MB, free: 4.004 MB / 302.1 MB Notification: Performance of Templates: time 0.00594/0.1586, allocations: 2.245 MB / 370.1 MB, free: 1.785 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches