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.002067/0.002066, allocations: 195.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 226.5 MB / 245.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008966/0.0008966, allocations: 93.88 kB / 297.5 MB, free: 6.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 4 kB / 358.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3039, allocations: 51.29 MB / 409.4 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4172, allocations: 76.83 MB / 486.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4175, allocations: 75.95 kB / 486.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001796/0.4193, allocations: 0.7142 MB / 487 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4194, allocations: 1.125 kB / 487 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4194, allocations: 0 / 487 MB, free: 13.96 MB / 362.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.0003517/0.4197, allocations: 350.5 kB / 487.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4198, allocations: 8.031 kB / 487.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.4198, allocations: 1.562 kB / 487.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.42, allocations: 176.3 kB / 487.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.42, allocations: 7.938 kB / 487.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.4201, allocations: 384 / 487.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.4204, allocations: 115.9 kB / 487.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4204, allocations: 4.172 kB / 487.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4204, allocations: 3.938 kB / 487.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4204, allocations: 0 / 487.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.4205, allocations: 23.92 kB / 487.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.4207, allocations: 157.7 kB / 487.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.4209, allocations: 62.55 kB / 487.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.4209, allocations: 24.89 kB / 487.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.421, allocations: 4.031 kB / 487.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.421, allocations: 30.56 kB / 487.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.421, allocations: 0 / 487.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002271/0.4212, allocations: 89.45 kB / 488 MB, free: 12.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4213, allocations: 55.41 kB / 488.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.4214, allocations: 105.8 kB / 488.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4214, allocations: 25.7 kB / 488.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.4215, allocations: 80.14 kB / 488.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.4215, allocations: 4 kB / 488.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.4215, allocations: 4 kB / 488.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4216, allocations: 318.8 kB / 488.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.4216, allocations: 3.984 kB / 488.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.4217, allocations: 27.44 kB / 488.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.4218, allocations: 39.38 kB / 488.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4218, allocations: 0 / 488.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.109e-05/0.4218, allocations: 57.56 kB / 488.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4219, allocations: 4 kB / 488.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4219, allocations: 7.938 kB / 488.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4219, allocations: 0 / 488.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.422, allocations: 4 kB / 488.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.422, allocations: 8.125 kB / 488.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.422, allocations: 0 / 488.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.422, allocations: 4 kB / 488.8 MB, free: 11.95 MB / 362.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 () * Number of clocked 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 8.96e-05/0.4221, allocations: 118 kB / 488.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4223, allocations: 69.53 kB / 488.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.4223, allocations: 15.78 kB / 489 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4223, allocations: 0 / 489 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4223, allocations: 4 kB / 489 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4223, allocations: 3.984 kB / 489 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.365e-05/0.4224, allocations: 153.7 kB / 489.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4225, allocations: 0 / 489.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.4225, allocations: 8 kB / 489.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4225, allocations: 336 / 489.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4225, allocations: 7.938 kB / 489.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.4225, allocations: 3.984 kB / 489.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4225, allocations: 0 / 489.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.4227, allocations: 89.11 kB / 489.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.4228, allocations: 88.94 kB / 489.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.4228, allocations: 3.938 kB / 489.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/0.4228, allocations: 7.938 kB / 489.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-06/0.4228, allocations: 0 / 489.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.4228, allocations: 0 / 489.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.517e-05/0.4229, allocations: 91.28 kB / 489.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4229, allocations: 0 / 489.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.4231, allocations: 0 / 489.4 MB, free: 11.19 MB / 362.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 () * Number of clocked 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 0.0001109/0.4232, allocations: 103.2 kB / 489.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.4233, allocations: 27.92 kB / 489.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4233, allocations: 4 kB / 489.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.4233, allocations: 256 / 489.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.4236, allocations: 24 kB / 489.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.4239, allocations: 112.7 kB / 489.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4242, allocations: 0.6833 MB / 490.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.4242, allocations: 3.984 kB / 490.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.4242, allocations: 7.438 kB / 490.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4242, allocations: 8 kB / 490.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.002131/0.4263, allocations: 281.1 kB / 490.7 MB, free: 9.891 MB / 362.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/jenkins1/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