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.0009037/0.0009038, allocations: 93.58 kB / 17.35 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 206 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003609, allocations: 8 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1462, allocations: 51.52 MB / 359.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00221/0.1485, allocations: 1.215 MB / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.149, allocations: 131.6 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.1491, allocations: 0 / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.1491, allocations: 7.938 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1493, allocations: 8 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1496, allocations: 31.91 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1497, allocations: 23.92 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1498, allocations: 8 kB / 360.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.1499, allocations: 11.92 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.1499, allocations: 15.92 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1499, allocations: 0 / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.15, allocations: 0 / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.15, allocations: 19.88 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1501, allocations: 45.56 kB / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1502, allocations: 35.81 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1502, allocations: 0 / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1503, allocations: 0 / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1503, allocations: 4 kB / 360.8 MB, free: 11.52 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.0005451/0.1508, allocations: 350.2 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1509, allocations: 8.031 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.1509, allocations: 8.844 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1511, allocations: 196.1 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1512, allocations: 384 / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1512, allocations: 4.375 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1514, allocations: 85.61 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1515, allocations: 192 / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1515, allocations: 7.938 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1515, allocations: 4 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.1516, allocations: 8 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.152, allocations: 269.7 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1521, allocations: 41.16 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.1522, allocations: 17.78 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1522, allocations: 4 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1523, allocations: 38.48 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.1523, allocations: 0 / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002492/0.1525, allocations: 61.72 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.1526, allocations: 77.11 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1527, allocations: 132.5 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1528, allocations: 25.7 kB / 362.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.1529, allocations: 92.05 kB / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/0.1529, allocations: 0 / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.1529, allocations: 9.719 kB / 362.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1531, allocations: 319 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.1531, allocations: 8 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.1531, allocations: 17.72 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.345e-05/0.1532, allocations: 29.64 kB / 362.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1532, allocations: 4.062 kB / 362.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/0.1533, allocations: 49.62 kB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1534, allocations: 7.938 kB / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1534, allocations: 4 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1534, allocations: 0 / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.1534, allocations: 4 kB / 362.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.1534, allocations: 3.938 kB / 362.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.1535, allocations: 4 kB / 362.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.1535, allocations: 7.938 kB / 362.7 MB, free: 9.391 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.1536, allocations: 125.8 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.1537, allocations: 41.59 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.1537, allocations: 11.48 kB / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1537, allocations: 0 / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1537, allocations: 0 / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1538, allocations: 4 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.154, allocations: 169.6 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.154, allocations: 0 / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.154, allocations: 32 / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.154, allocations: 4 kB / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.154, allocations: 0 / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.154, allocations: 4 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.154, allocations: 3.938 kB / 363 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.1542, allocations: 152.2 kB / 363.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.1543, allocations: 93.12 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1543, allocations: 0 / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.278e-05/0.1544, allocations: 7.984 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1544, allocations: 0 / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1544, allocations: 0 / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.1545, allocations: 107.2 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1545, allocations: 0 / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1547, allocations: 4 kB / 363.4 MB, free: 8.57 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 (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.0001541/0.1549, allocations: 99.25 kB / 363.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.155, allocations: 23.92 kB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.155, allocations: 0 / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.1551, allocations: 4 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1555, allocations: 23.95 kB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.1559, allocations: 157.6 kB / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1563, allocations: 0.6926 MB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.1563, allocations: 0 / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.1563, allocations: 7.438 kB / 364.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1563, allocations: 0 / 364.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003026/0.1594, allocations: 401.4 kB / 364.8 MB, free: 7.109 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