Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, 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.365/1.365, allocations: 221.3 MB / 235.5 MB, free: 2.969 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.0008384/0.0008385, allocations: 95.31 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.038e-05, allocations: 7.984 kB / 343.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08865, allocations: 50.41 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.3576, allocations: 76.28 MB / 470.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3579, allocations: 75.95 kB / 470.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002709/0.3606, allocations: 1.108 MB / 471.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3606, allocations: 0 / 471.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3606, allocations: 0 / 471.7 MB, free: 10.12 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.0002934/0.3609, allocations: 343 kB / 472 MB, free: 9.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.361, allocations: 8.031 kB / 472 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.361, allocations: 11.86 kB / 472.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3612, allocations: 179 kB / 472.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3612, allocations: 4 kB / 472.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3612, allocations: 4 kB / 472.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.3614, allocations: 85 kB / 472.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.3614, allocations: 0 / 472.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3614, allocations: 3.938 kB / 472.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3615, allocations: 4 kB / 472.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.3615, allocations: 11.95 kB / 472.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.3618, allocations: 265.7 kB / 472.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.3619, allocations: 37.16 kB / 472.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.3619, allocations: 17.84 kB / 472.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3619, allocations: 3.938 kB / 472.7 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.362, allocations: 34.56 kB / 472.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.362, allocations: 0 / 472.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001287/0.3621, allocations: 41.66 kB / 472.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.3622, allocations: 93.09 kB / 472.8 MB, free: 8.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3623, allocations: 118.1 kB / 472.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3623, allocations: 25.7 kB / 473 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.3624, allocations: 96.03 kB / 473.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.3624, allocations: 0 / 473.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.3624, allocations: 0 / 473.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3625, allocations: 314.8 kB / 473.4 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.3625, allocations: 8 kB / 473.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.3625, allocations: 18.88 kB / 473.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.465e-05/0.3626, allocations: 0 / 473.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3626, allocations: 0 / 473.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.307e-05/0.3626, allocations: 45.64 kB / 473.4 MB, free: 8.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3627, allocations: 4 kB / 473.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3627, allocations: 0 / 473.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3627, allocations: 7.953 kB / 473.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.3628, allocations: 12.11 kB / 473.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3628, allocations: 0 / 473.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.3628, allocations: 7.938 kB / 473.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.3628, allocations: 0 / 473.5 MB, free: 8.105 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.168e-05/0.3629, allocations: 106.5 kB / 473.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.3629, allocations: 45.53 kB / 473.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.363, allocations: 11.64 kB / 473.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.363, allocations: 0 / 473.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.363, allocations: 3.953 kB / 473.6 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.363, allocations: 4.031 kB / 473.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3632, allocations: 169.7 kB / 473.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3632, allocations: 0 / 473.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.3632, allocations: 4 kB / 473.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3632, allocations: 0 / 473.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3632, allocations: 4 kB / 473.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.3632, allocations: 4 kB / 473.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3632, allocations: 0.625 kB / 473.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.3634, allocations: 173.9 kB / 474 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.3634, allocations: 85.09 kB / 474.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3634, allocations: 0 / 474.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.12e-05/0.3635, allocations: 4 kB / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.3635, allocations: 3.953 kB / 474.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3635, allocations: 4 kB / 474.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.808e-05/0.3636, allocations: 108.7 kB / 474.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3636, allocations: 0 / 474.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000198/0.3638, allocations: 3.906 kB / 474.2 MB, free: 7.285 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.112e-05/0.3639, allocations: 103.2 kB / 474.3 MB, free: 7.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.79e-05/0.364, allocations: 8 kB / 474.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.364, allocations: 7.938 kB / 474.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-06/0.364, allocations: 0 / 474.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.3642, allocations: 17.47 kB / 474.3 MB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.3644, allocations: 96.25 kB / 474.4 MB, free: 7.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3647, allocations: 0.6887 MB / 475.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.112e-05/0.3647, allocations: 4 kB / 475.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.3647, allocations: 7.438 kB / 475.1 MB, free: 6.305 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3647, allocations: 0 / 475.1 MB, free: 6.305 MB / 346.7 MB Notification: Performance of Templates: time 0.001968/0.3667, allocations: 399.6 kB / 475.5 MB, free: 5.922 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches