Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001626/0.001626, allocations: 116.9 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 58.44 kB / 306.4 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 50.54 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003688/0.1486, allocations: 1.953 MB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1506, allocations: 1.193 MB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1508, allocations: 7.938 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.1513, allocations: 139.7 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.1517, allocations: 143.5 kB / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.1522, allocations: 159.2 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1524, allocations: 195.5 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1525, allocations: 37.52 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1527, allocations: 79.62 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.1528, allocations: 71.69 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1528, allocations: 12 kB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1529, allocations: 55.92 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.153, allocations: 47.83 kB / 361.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.1531, allocations: 71.48 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1533, allocations: 203.6 kB / 361.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1534, allocations: 4 kB / 361.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1534, allocations: 0 / 361.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1534, allocations: 4 kB / 361.3 MB, free: 9.82 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.0006837/0.1541, allocations: 0.5117 MB / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1541, allocations: 8.031 kB / 361.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.1542, allocations: 28.64 kB / 361.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1545, allocations: 262.8 kB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1545, allocations: 8.375 kB / 362.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1545, allocations: 8.125 kB / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.1548, allocations: 150.7 kB / 362.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1548, allocations: 3.938 kB / 362.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1549, allocations: 4 kB / 362.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1549, allocations: 0 / 362.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.155, allocations: 27.98 kB / 362.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1554, allocations: 366.3 kB / 362.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1556, allocations: 111.8 kB / 362.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.1557, allocations: 50.56 kB / 362.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1558, allocations: 0 / 362.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1559, allocations: 75.31 kB / 362.9 MB, free: 8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1559, allocations: 8 kB / 362.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003405/0.1563, allocations: 141.4 kB / 363.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.1564, allocations: 128.5 kB / 363.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.1566, allocations: 276.9 kB / 363.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1567, allocations: 29.7 kB / 363.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.1567, allocations: 120.2 kB / 363.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1568, allocations: 19.98 kB / 363.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.1568, allocations: 37.66 kB / 363.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1569, allocations: 330.8 kB / 364 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.157, allocations: 24.23 kB / 364 MB, free: 6.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.1571, allocations: 69.94 kB / 364.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1572, allocations: 80.25 kB / 364.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1573, allocations: 4 kB / 364.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000201/0.1575, allocations: 113.4 kB / 364.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1575, allocations: 12.12 kB / 364.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1575, allocations: 0 / 364.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1575, allocations: 0 / 364.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.1576, allocations: 12 kB / 364.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1576, allocations: 0 / 364.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.1577, allocations: 15.83 kB / 364.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1577, allocations: 8 kB / 364.3 MB, free: 6.488 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.1578, allocations: 149.7 kB / 364.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.1579, allocations: 61.52 kB / 364.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.158, allocations: 21.7 kB / 364.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.158, allocations: 4 kB / 364.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.158, allocations: 3.938 kB / 364.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.158, allocations: 3.938 kB / 364.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1582, allocations: 237.4 kB / 364.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1582, allocations: 0 / 364.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.1582, allocations: 4 kB / 364.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1582, allocations: 0 / 364.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1582, allocations: 4 kB / 364.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1582, allocations: 4.125 kB / 364.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.1583, allocations: 7.984 kB / 364.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1585, allocations: 158.5 kB / 365 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.1586, allocations: 100.9 kB / 365.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1586, allocations: 11.98 kB / 365.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.1587, allocations: 4 kB / 365.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1587, allocations: 4 kB / 365.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1587, allocations: 11.92 kB / 365.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1589, allocations: 200.5 kB / 365.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1589, allocations: 4 kB / 365.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1592, allocations: 27.91 kB / 365.3 MB, free: 5.375 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (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.0009352/0.1601, allocations: 417.4 kB / 365.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1604, allocations: 71.91 kB / 365.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1604, allocations: 0 / 365.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.1605, allocations: 31.92 kB / 365.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1608, allocations: 59.56 kB / 365.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.1614, allocations: 357.1 kB / 366.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1617, allocations: 0.7319 MB / 367 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.04e-05/0.1617, allocations: 25.52 kB / 367 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1618, allocations: 23.42 kB / 367 MB, free: 3.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1618, allocations: 0 / 367 MB, free: 3.754 MB / 302.1 MB Notification: Performance of Templates: time 0.005706/0.1675, allocations: 2.391 MB / 369.4 MB, free: 1.383 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches