Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 97.88 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001577, allocations: 191.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.7 MB / 246.4 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.000333, allocations: 8 kB / 307.1 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 51.53 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002072/0.1587, allocations: 1.196 MB / 359.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003719/0.1591, allocations: 139.6 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.1592, allocations: 4 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.1593, allocations: 3.984 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.1594, allocations: 7.938 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1596, allocations: 31.84 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.1598, allocations: 23.92 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1599, allocations: 4 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.1599, allocations: 19.92 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.16, allocations: 7.938 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.16, allocations: 0 / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.16, allocations: 4 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.1601, allocations: 7.984 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1601, allocations: 33.64 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.953e-05/0.1602, allocations: 27.95 kB / 360.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1602, allocations: 0 / 360.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.1602, allocations: 3.984 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1602, allocations: 0 / 360.1 MB, free: 12.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004624/0.1607, allocations: 351.5 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.1607, allocations: 8.031 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1608, allocations: 15.89 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.161, allocations: 182.9 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.161, allocations: 4 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.161, allocations: 0 / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1613, allocations: 89.02 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1613, allocations: 4 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1613, allocations: 0 / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1613, allocations: 3.984 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.1614, allocations: 15.94 kB / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.1618, allocations: 261.8 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.004e-05/0.1619, allocations: 49.09 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.162, allocations: 21.78 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.162, allocations: 3.938 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.162, allocations: 38.56 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.162, allocations: 0 / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002181/0.1623, allocations: 57.53 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.1623, allocations: 85.09 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1625, allocations: 132.6 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1625, allocations: 25.7 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.1625, allocations: 92.38 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.1625, allocations: 0 / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1625, allocations: 0 / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1627, allocations: 314.8 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.1627, allocations: 11.92 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.1627, allocations: 17.72 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.1628, allocations: 8.062 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1628, allocations: 0 / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.789e-05/0.1629, allocations: 57.55 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1629, allocations: 7.938 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1629, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1629, allocations: 4 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.163, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.163, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.163, allocations: 8.047 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.163, allocations: 4 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.565e-05/0.1631, allocations: 113.8 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.1632, allocations: 33.66 kB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.1632, allocations: 19.47 kB / 362.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1632, allocations: 0 / 362.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1632, allocations: 4 kB / 362.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1633, allocations: 0 / 362.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1634, allocations: 157.7 kB / 362.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1634, allocations: 8.016 kB / 362.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.1634, allocations: 3.938 kB / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1635, allocations: 3.953 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1635, allocations: 7.938 kB / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1635, allocations: 0 / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1635, allocations: 0 / 362.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1636, allocations: 160.3 kB / 362.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.1637, allocations: 89 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1637, allocations: 7.953 kB / 362.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.1638, allocations: 4 kB / 362.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1638, allocations: 3.984 kB / 362.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1638, allocations: 4 kB / 362.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.256e-05/0.1639, allocations: 111.1 kB / 362.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 0 / 362.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1641, allocations: 4 kB / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001106/0.1642, allocations: 103.2 kB / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1644, allocations: 15.98 kB / 362.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1644, allocations: 4 kB / 362.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.1644, allocations: 4 kB / 362.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1647, allocations: 20.25 kB / 362.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.1651, allocations: 152.2 kB / 363 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1654, allocations: 0.6848 MB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.1654, allocations: 4 kB / 363.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.1654, allocations: 7.438 kB / 363.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1654, allocations: 4 kB / 363.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of Templates: time 0.002816/0.1683, allocations: 375.5 kB / 364.1 MB, free: 7.754 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches