Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 99.48 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.841e-05, allocations: 7.984 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08476, allocations: 50.42 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.359, allocations: 76.26 MB / 470.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.3593, allocations: 83.94 kB / 470.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002426/0.3617, allocations: 1.025 MB / 471.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3617, allocations: 0 / 471.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.3618, allocations: 7.938 kB / 471.6 MB, free: 10.18 MB / 346.7 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.0002641/0.362, allocations: 335.1 kB / 471.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3621, allocations: 8.031 kB / 472 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.3621, allocations: 7.953 kB / 472 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3623, allocations: 194.8 kB / 472.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3623, allocations: 3.938 kB / 472.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.3623, allocations: 4 kB / 472.2 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3625, allocations: 81.11 kB / 472.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.3625, allocations: 3.938 kB / 472.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.3625, allocations: 0 / 472.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3625, allocations: 7.984 kB / 472.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.3626, allocations: 15.95 kB / 472.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.3629, allocations: 249.8 kB / 472.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/0.3629, allocations: 41.16 kB / 472.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.3629, allocations: 17.78 kB / 472.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.363, allocations: 0 / 472.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.363, allocations: 34.55 kB / 472.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.363, allocations: 0 / 472.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.3631, allocations: 53.5 kB / 472.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3632, allocations: 77.11 kB / 472.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.3633, allocations: 128.8 kB / 472.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3633, allocations: 25.7 kB / 472.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.3634, allocations: 84.12 kB / 473 MB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/0.3634, allocations: 3.906 kB / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.3634, allocations: 0 / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.3635, allocations: 318.8 kB / 473.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.3635, allocations: 3.938 kB / 473.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.3635, allocations: 18.88 kB / 473.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.526e-05/0.3635, allocations: 8 kB / 473.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3635, allocations: 0 / 473.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.152e-05/0.3636, allocations: 41.62 kB / 473.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3636, allocations: 8.938 kB / 473.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3636, allocations: 1.938 kB / 473.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.3637, allocations: 0 / 473.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.415e-05/0.3637, allocations: 3.953 kB / 473.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.3637, allocations: 128 / 473.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.3637, allocations: 8 kB / 473.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.3637, allocations: 0 / 473.4 MB, free: 8.184 MB / 346.7 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 () * 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 5.45e-05/0.3638, allocations: 109 kB / 473.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.3638, allocations: 41.53 kB / 473.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.3639, allocations: 11.66 kB / 473.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3639, allocations: 0 / 473.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3639, allocations: 3.953 kB / 473.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3639, allocations: 0 / 473.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.364, allocations: 165.7 kB / 473.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3641, allocations: 4 kB / 473.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-06/0.3641, allocations: 3.938 kB / 473.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3641, allocations: 3.938 kB / 473.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.3641, allocations: 0 / 473.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3641, allocations: 0.875 kB / 473.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3641, allocations: 4 kB / 473.7 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.985e-05/0.3642, allocations: 162.1 kB / 473.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.3643, allocations: 89 kB / 474 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.3643, allocations: 0 / 474 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.3643, allocations: 0 / 474 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.3644, allocations: 11.95 kB / 474 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.3644, allocations: 4 kB / 474 MB, free: 7.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.3644, allocations: 100.8 kB / 474.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.3645, allocations: 0 / 474.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.3647, allocations: 11.97 kB / 474.1 MB, free: 7.371 MB / 346.7 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 () * 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 8.306e-05/0.3647, allocations: 99.25 kB / 474.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.983e-05/0.3648, allocations: 8 kB / 474.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3648, allocations: 0 / 474.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.3648, allocations: 0 / 474.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.365, allocations: 19.95 kB / 474.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.3652, allocations: 97.88 kB / 474.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3654, allocations: 0.6854 MB / 475 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.3655, allocations: 7.984 kB / 475 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3655, allocations: 7.438 kB / 475 MB, free: 6.387 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3655, allocations: 0 / 475 MB, free: 6.387 MB / 346.7 MB Notification: Performance of Templates: time 0.001952/0.3675, allocations: 399.6 kB / 475.4 MB, free: 6.004 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches