Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002039/0.002039, allocations: 196.7 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 226.5 MB / 245.4 MB, free: 8.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008757/0.000876, allocations: 95.94 kB / 297.5 MB, free: 6.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.0002539, allocations: 8 kB / 358.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3029, allocations: 51.29 MB / 409.4 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.4099, allocations: 76.79 MB / 486.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.4103, allocations: 76.89 kB / 486.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002364/0.4127, allocations: 0.7842 MB / 487 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.983e-06/0.4127, allocations: 0 / 487 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4127, allocations: 9.594 kB / 487 MB, free: 13.93 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.0004273/0.4132, allocations: 331.5 kB / 487.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.4132, allocations: 8.031 kB / 487.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.4133, allocations: 11.12 kB / 487.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.4135, allocations: 177.8 kB / 487.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.4136, allocations: 4.359 kB / 487.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4136, allocations: 4.375 kB / 487.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.4139, allocations: 123.1 kB / 487.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.414, allocations: 192 / 487.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.414, allocations: 3.938 kB / 487.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.414, allocations: 0 / 487.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.4141, allocations: 35.84 kB / 487.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.4143, allocations: 157.7 kB / 487.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.4144, allocations: 62.55 kB / 487.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.4145, allocations: 28.91 kB / 488 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.4146, allocations: 0 / 488 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.4146, allocations: 34.56 kB / 488 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4146, allocations: 0 / 488 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002868/0.4149, allocations: 85.53 kB / 488.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.415, allocations: 59.31 kB / 488.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.4151, allocations: 109.8 kB / 488.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4151, allocations: 25.7 kB / 488.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.4151, allocations: 84.14 kB / 488.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.4151, allocations: 4 kB / 488.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/0.4152, allocations: 0 / 488.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4153, allocations: 310.8 kB / 488.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.4153, allocations: 11.98 kB / 488.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.4154, allocations: 27.44 kB / 488.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.4154, allocations: 39.38 kB / 488.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4154, allocations: 0 / 488.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001177/0.4156, allocations: 65.62 kB / 488.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4156, allocations: 4 kB / 488.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4156, allocations: 7.938 kB / 488.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4156, allocations: 0 / 488.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.4157, allocations: 11.98 kB / 488.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4157, allocations: 3.984 kB / 488.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.4158, allocations: 7.844 kB / 488.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.4158, allocations: 4 kB / 488.8 MB, free: 11.88 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001017/0.4159, allocations: 117.8 kB / 489 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.416, allocations: 73.67 kB / 489 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.4161, allocations: 7.844 kB / 489 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4161, allocations: 384 / 489 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4161, allocations: 0 / 489 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4161, allocations: 0 / 489 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.4162, allocations: 161.7 kB / 489.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4162, allocations: 0 / 489.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.4163, allocations: 11.98 kB / 489.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4163, allocations: 4 kB / 489.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4163, allocations: 3.938 kB / 489.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4163, allocations: 4 kB / 489.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4164, allocations: 0 / 489.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.4165, allocations: 93.02 kB / 489.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.4166, allocations: 81.39 kB / 489.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.4166, allocations: 7.922 kB / 489.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.4167, allocations: 7.938 kB / 489.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-06/0.4167, allocations: 3.984 kB / 489.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.4167, allocations: 0 / 489.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.4168, allocations: 87.28 kB / 489.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4168, allocations: 0 / 489.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.417, allocations: 4 kB / 489.5 MB, free: 11.11 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001177/0.4171, allocations: 103.2 kB / 489.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.4172, allocations: 27.92 kB / 489.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4173, allocations: 3.938 kB / 489.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.4173, allocations: 0 / 489.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4176, allocations: 40.02 kB / 489.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.4179, allocations: 116.7 kB / 489.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4182, allocations: 0.6809 MB / 490.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.4183, allocations: 4.234 kB / 490.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.4183, allocations: 11.44 kB / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4183, allocations: 0 / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.002466/0.4208, allocations: 386 kB / 490.9 MB, free: 9.703 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches