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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007828/0.0007828, allocations: 98.33 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.735e-05/4.743e-05, allocations: 8 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 51.48 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.5255, allocations: 76.4 MB / 471.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5258, allocations: 77.28 kB / 471.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002934/0.5287, allocations: 1.033 MB / 472.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5287, allocations: 4 kB / 472.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.5288, allocations: 0 / 472.7 MB, free: 14.13 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.0002719/0.529, allocations: 338.2 kB / 473 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5291, allocations: 11.03 kB / 473 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.5291, allocations: 8.531 kB / 473 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.5293, allocations: 176.3 kB / 473.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.5293, allocations: 0.8594 kB / 473.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.5293, allocations: 4 kB / 473.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.176e-05/0.5294, allocations: 10.56 kB / 473.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.5295, allocations: 86.95 kB / 473.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5296, allocations: 0 / 473.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5296, allocations: 0 / 473.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5296, allocations: 3.688 kB / 473.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.5298, allocations: 239.6 kB / 473.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.46e-05/0.5299, allocations: 42.17 kB / 473.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.5299, allocations: 9.719 kB / 473.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.5299, allocations: 4.062 kB / 473.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.53, allocations: 34.56 kB / 473.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.53, allocations: 0 / 473.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.5301, allocations: 46.47 kB / 473.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.5302, allocations: 78.66 kB / 473.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.5303, allocations: 120.3 kB / 473.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.5303, allocations: 25.7 kB / 473.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.5303, allocations: 88.19 kB / 474 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.607e-06/0.5303, allocations: 3.906 kB / 474 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.5304, allocations: 0.75 kB / 474 MB, free: 12.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.5304, allocations: 319.2 kB / 474.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.5304, allocations: 0 / 474.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.5305, allocations: 21.41 kB / 474.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.498e-05/0.5305, allocations: 1.797 kB / 474.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5305, allocations: 4 kB / 474.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.215e-05/0.5306, allocations: 39.3 kB / 474.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5306, allocations: 7.953 kB / 474.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5306, allocations: 3.469 kB / 474.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5306, allocations: 0 / 474.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.602e-05/0.5306, allocations: 7.688 kB / 474.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5306, allocations: 3.938 kB / 474.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.5307, allocations: 1.453 kB / 474.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.5307, allocations: 3.938 kB / 474.4 MB, free: 12.3 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 4.686e-05/0.5307, allocations: 109 kB / 474.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.5308, allocations: 34.73 kB / 474.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.5308, allocations: 13.23 kB / 474.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5308, allocations: 0 / 474.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5309, allocations: 1.312 kB / 474.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5309, allocations: 4 kB / 474.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.531, allocations: 138.4 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.531, allocations: 4 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-06/0.531, allocations: 0 / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.531, allocations: 5.344 kB / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.531, allocations: 0 / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.531, allocations: 0 / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.531, allocations: 7.953 kB / 474.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.909e-05/0.5311, allocations: 152.2 kB / 474.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.5312, allocations: 92.38 kB / 474.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5312, allocations: 5.594 kB / 474.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.039e-05/0.5313, allocations: 3.953 kB / 474.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.5313, allocations: 5.484 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.5313, allocations: 4 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.583e-05/0.5314, allocations: 99.23 kB / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5314, allocations: 0 / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.5316, allocations: 4 kB / 475.1 MB, free: 11.59 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 9.69e-05/0.5317, allocations: 99.25 kB / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.925e-05/0.5318, allocations: 11.81 kB / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5318, allocations: 0 / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.5318, allocations: 5.078 kB / 475.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.532, allocations: 15.58 kB / 475.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.5322, allocations: 89.33 kB / 475.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.5324, allocations: 0.6914 MB / 476 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.5324, allocations: 4 kB / 476 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.5324, allocations: 7.438 kB / 476 MB, free: 10.65 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5324, allocations: 4 kB / 476 MB, free: 10.64 MB / 346.7 MB Notification: Performance of Templates: time 0.002014/0.5345, allocations: 363.6 kB / 476.3 MB, free: 10.46 MB / 346.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches