Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008358/0.0008358, allocations: 100.1 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.216e-05, allocations: 0 / 343.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09578, allocations: 51.48 MB / 395.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3066/0.4024, allocations: 76.18 MB / 471.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.4026, allocations: 78.67 kB / 471.4 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001382/0.404, allocations: 0.7143 MB / 472.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.404, allocations: 0 / 472.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.404, allocations: 4 kB / 472.1 MB, free: 14.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000219/0.4043, allocations: 327.6 kB / 472.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4043, allocations: 8.031 kB / 472.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.4043, allocations: 2.812 kB / 472.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.4045, allocations: 174.6 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4045, allocations: 4.844 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.4045, allocations: 3.172 kB / 472.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.402e-05/0.4046, allocations: 16.69 kB / 472.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4048, allocations: 83.05 kB / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4048, allocations: 6.219 kB / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4048, allocations: 1.266 kB / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4048, allocations: 0 / 472.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.72e-05/0.4049, allocations: 141.7 kB / 472.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.474e-05/0.405, allocations: 38.02 kB / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.405, allocations: 18.05 kB / 472.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.4051, allocations: 3.312 kB / 472.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.4051, allocations: 32.11 kB / 473 MB, free: 13.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4051, allocations: 0 / 473 MB, free: 13.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001156/0.4052, allocations: 46.25 kB / 473 MB, free: 13.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.4052, allocations: 60.61 kB / 473.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.4053, allocations: 99.83 kB / 473.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.4053, allocations: 25.7 kB / 473.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.4053, allocations: 88.28 kB / 473.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.4054, allocations: 3.062 kB / 473.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.4054, allocations: 0 / 473.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.4054, allocations: 313.6 kB / 473.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.4054, allocations: 4 kB / 473.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.4055, allocations: 26.81 kB / 473.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.4055, allocations: 5.688 kB / 473.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4055, allocations: 0 / 473.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.531e-05/0.4055, allocations: 52.86 kB / 473.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4056, allocations: 4 kB / 473.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4056, allocations: 9.75 kB / 473.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4056, allocations: 4 kB / 473.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.4056, allocations: 11.89 kB / 473.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4057, allocations: 4 kB / 473.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.4057, allocations: 5.828 kB / 473.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.4057, allocations: 4 kB / 473.7 MB, free: 12.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.302e-05/0.4057, allocations: 101 kB / 473.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.4058, allocations: 44.23 kB / 473.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.4058, allocations: 7.781 kB / 473.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4058, allocations: 4 kB / 473.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4058, allocations: 7.953 kB / 473.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4058, allocations: 0 / 473.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.796e-05/0.4059, allocations: 135.1 kB / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4059, allocations: 0 / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.406, allocations: 9.641 kB / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.406, allocations: 7.938 kB / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.406, allocations: 0 / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.406, allocations: 4.812 kB / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.406, allocations: 4.922 kB / 474 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.459e-05/0.4061, allocations: 78.98 kB / 474.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.4061, allocations: 82.98 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.4061, allocations: 0 / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.4061, allocations: 4 kB / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.4062, allocations: 0 / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.4062, allocations: 0 / 474.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.4062, allocations: 84.36 kB / 474.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4062, allocations: 0 / 474.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.4064, allocations: 11.94 kB / 474.3 MB, free: 12.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.332e-05/0.4065, allocations: 98.95 kB / 474.4 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.4065, allocations: 15.31 kB / 474.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4065, allocations: 0 / 474.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.4065, allocations: 4 kB / 474.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.4067, allocations: 16.69 kB / 474.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001512/0.4069, allocations: 58.81 kB / 474.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.407, allocations: 0.6856 MB / 475.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.311e-05/0.407, allocations: 0.6562 kB / 475.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.407, allocations: 11.38 kB / 475.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.407, allocations: 0 / 475.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of Templates: time 0.001986/0.409, allocations: 281.3 kB / 475.5 MB, free: 11.16 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches