Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, 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.44/1.44, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007944/0.0007945, allocations: 94.88 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.356e-05, allocations: 0 / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4361, allocations: 76.41 MB / 471.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4364, allocations: 77.66 kB / 471.7 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0025/0.4389, allocations: 1.1 MB / 472.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4389, allocations: 1.594 kB / 472.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.4389, allocations: 0 / 472.8 MB, free: 14.1 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.0002649/0.4392, allocations: 338.5 kB / 473.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4392, allocations: 8.031 kB / 473.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.4393, allocations: 8.531 kB / 473.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4394, allocations: 187.5 kB / 473.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4395, allocations: 0.8594 kB / 473.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.4395, allocations: 4 kB / 473.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.126e-05/0.4396, allocations: 14.88 kB / 473.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.4397, allocations: 83.17 kB / 473.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4397, allocations: 0 / 473.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.4397, allocations: 0 / 473.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.4397, allocations: 0 / 473.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.44, allocations: 249.8 kB / 473.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/0.4401, allocations: 37.17 kB / 473.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.4401, allocations: 16.78 kB / 473.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4401, allocations: 5.516 kB / 473.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.4401, allocations: 34.56 kB / 473.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4401, allocations: 0 / 473.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.4403, allocations: 37.83 kB / 473.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4403, allocations: 85.98 kB / 473.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.4404, allocations: 117.7 kB / 474 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.4404, allocations: 25.7 kB / 474 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.4404, allocations: 93.19 kB / 474.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.4404, allocations: 4 kB / 474.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.4404, allocations: 0 / 474.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.4405, allocations: 315.4 kB / 474.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.4405, allocations: 0 / 474.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.4405, allocations: 13.72 kB / 474.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.496e-05/0.4406, allocations: 9.328 kB / 474.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4406, allocations: 4.625 kB / 474.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.051e-05/0.4406, allocations: 43 kB / 474.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.4406, allocations: 4 kB / 474.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4407, allocations: 3.938 kB / 474.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4407, allocations: 4 kB / 474.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.4407, allocations: 5.5 kB / 474.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.4407, allocations: 1.969 kB / 474.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.4408, allocations: 5.312 kB / 474.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4408, allocations: 64 / 474.5 MB, free: 12.25 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.22e-05/0.4408, allocations: 110.5 kB / 474.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.4409, allocations: 42.22 kB / 474.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.4409, allocations: 9.234 kB / 474.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4409, allocations: 0 / 474.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4409, allocations: 4.812 kB / 474.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.441, allocations: 0 / 474.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.4411, allocations: 147 kB / 474.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4411, allocations: 4 kB / 474.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.4411, allocations: 9.391 kB / 474.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4411, allocations: 0 / 474.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.4411, allocations: 0 / 474.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4411, allocations: 7.953 kB / 474.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4412, allocations: 1.5 kB / 474.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.4412, allocations: 155.8 kB / 475 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.4413, allocations: 91.05 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4413, allocations: 4.984 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.4414, allocations: 5.406 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.4414, allocations: 3.984 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4414, allocations: 3.375 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.954e-05/0.4415, allocations: 101.5 kB / 475.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4415, allocations: 4 kB / 475.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000201/0.4417, allocations: 3.938 kB / 475.2 MB, free: 11.52 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 6.877e-05/0.4417, allocations: 99.28 kB / 475.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.001e-05/0.4418, allocations: 16.86 kB / 475.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4418, allocations: 0 / 475.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.4418, allocations: 0 / 475.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.442, allocations: 14.47 kB / 475.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.4422, allocations: 93.16 kB / 475.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.4424, allocations: 0.6923 MB / 476.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.998e-05/0.4424, allocations: 0.9844 kB / 476.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.4424, allocations: 7.438 kB / 476.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4424, allocations: 0 / 476.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of Templates: time 0.001917/0.4443, allocations: 364.7 kB / 476.5 MB, free: 10.38 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches