Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 201 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.805/1.805, allocations: 226.5 MB / 245.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009354/0.0009353, allocations: 109.6 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002777, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2935, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4216, allocations: 76.83 MB / 486.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.422, allocations: 75.95 kB / 486.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00234/0.4244, allocations: 0.687 MB / 487 MB, free: 13.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4244, allocations: 0 / 487 MB, free: 13.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4244, allocations: 0 / 487 MB, free: 13.94 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.0004519/0.4249, allocations: 327.9 kB / 487.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.425, allocations: 12.03 kB / 487.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.425, allocations: 0.9375 kB / 487.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.4253, allocations: 176.3 kB / 487.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.4253, allocations: 384 / 487.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.4253, allocations: 9.906 kB / 487.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.4258, allocations: 107.8 kB / 487.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4258, allocations: 4.188 kB / 487.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4258, allocations: 3.938 kB / 487.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4258, allocations: 0 / 487.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4259, allocations: 15.98 kB / 487.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.4262, allocations: 157.6 kB / 487.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.4264, allocations: 54.55 kB / 487.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.4265, allocations: 24.92 kB / 487.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.4265, allocations: 0 / 487.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4266, allocations: 30.56 kB / 487.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.4266, allocations: 0 / 487.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003392/0.4269, allocations: 77.55 kB / 487.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.427, allocations: 55.41 kB / 488 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4272, allocations: 101.8 kB / 488.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4272, allocations: 29.7 kB / 488.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.4273, allocations: 84.14 kB / 488.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.4273, allocations: 3.938 kB / 488.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4273, allocations: 0 / 488.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4275, allocations: 318.8 kB / 488.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.4275, allocations: 4 kB / 488.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.4275, allocations: 31.42 kB / 488.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.4276, allocations: 27.38 kB / 488.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4276, allocations: 4 kB / 488.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.4278, allocations: 61.53 kB / 488.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4278, allocations: 11.94 kB / 488.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4278, allocations: 3.938 kB / 488.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4278, allocations: 0 / 488.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.4279, allocations: 4 kB / 488.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4279, allocations: 0 / 488.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.428, allocations: 4 kB / 488.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.428, allocations: 4.125 kB / 488.7 MB, free: 11.98 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 0.0001396/0.4281, allocations: 117.8 kB / 488.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.4283, allocations: 57.62 kB / 488.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.4283, allocations: 7.438 kB / 488.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4283, allocations: 0 / 488.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4284, allocations: 4 kB / 488.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4284, allocations: 0 / 488.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.4285, allocations: 153.7 kB / 489 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4285, allocations: 4 kB / 489 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.4286, allocations: 0 / 489 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.4286, allocations: 3.984 kB / 489 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4286, allocations: 8.188 kB / 489 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.4286, allocations: 7.938 kB / 489 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4286, allocations: 4 kB / 489 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.4288, allocations: 73.12 kB / 489.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.4289, allocations: 85.02 kB / 489.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4289, allocations: 7.938 kB / 489.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.137e-05/0.429, allocations: 4.359 kB / 489.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.429, allocations: 0 / 489.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.429, allocations: 4 kB / 489.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.4291, allocations: 83.22 kB / 489.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.767e-06/0.4291, allocations: 0 / 489.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.4294, allocations: 11.94 kB / 489.3 MB, free: 11.25 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.0001595/0.4296, allocations: 102.1 kB / 489.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4297, allocations: 23.97 kB / 489.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4297, allocations: 0 / 489.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-06/0.4298, allocations: 3.938 kB / 489.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.4301, allocations: 26.39 kB / 489.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.4305, allocations: 116.5 kB / 489.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.4309, allocations: 0.6848 MB / 490.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.4309, allocations: 3.984 kB / 490.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.4309, allocations: 7.438 kB / 490.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4309, allocations: 0 / 490.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.002837/0.4338, allocations: 281.2 kB / 490.5 MB, free: 9.961 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches