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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.644/1.644, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3887, allocations: 50.53 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002865/0.3916, allocations: 1.44 MB / 410.7 MB, free: 168 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.3919, allocations: 99.67 kB / 410.8 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.392, allocations: 0 / 410.8 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.392, allocations: 0 / 410.8 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.3921, allocations: 11.94 kB / 410.8 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3923, allocations: 19.67 kB / 410.8 MB, free: 40 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.3924, allocations: 31.91 kB / 410.8 MB, free: 8 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3925, allocations: 16 kB / 410.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.3926, allocations: 7.984 kB / 410.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.3926, allocations: 11.94 kB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3926, allocations: 0 / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.3926, allocations: 4 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.3927, allocations: 3.984 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3927, allocations: 19.88 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.686e-05/0.3928, allocations: 27.81 kB / 410.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3928, allocations: 4 kB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3928, allocations: 0 / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3928, allocations: 0 / 410.9 MB, free: 15.91 MB / 334.1 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.000421/0.3933, allocations: 331.4 kB / 411.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3933, allocations: 12.03 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3934, allocations: 0.9375 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3936, allocations: 184.3 kB / 411.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3936, allocations: 8.312 kB / 411.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3937, allocations: 4.375 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.3939, allocations: 95.88 kB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3939, allocations: 4.188 kB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.394, allocations: 3.938 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.394, allocations: 0 / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.394, allocations: 15.98 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.3942, allocations: 157.7 kB / 411.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3943, allocations: 42.59 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3944, allocations: 28.83 kB / 411.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3944, allocations: 0 / 411.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3945, allocations: 38.56 kB / 411.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3945, allocations: 0 / 411.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002029/0.3947, allocations: 69.56 kB / 411.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3947, allocations: 59.34 kB / 412 MB, free: 14.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.3948, allocations: 101.8 kB / 412.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3948, allocations: 33.64 kB / 412.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.3949, allocations: 84.14 kB / 412.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.3949, allocations: 0 / 412.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.3949, allocations: 17.72 kB / 412.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3951, allocations: 318.8 kB / 412.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.3951, allocations: 7.938 kB / 412.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.3951, allocations: 27.44 kB / 412.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.3952, allocations: 31.38 kB / 412.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3952, allocations: 4 kB / 412.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.313e-05/0.3952, allocations: 57.62 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3953, allocations: 6.969 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3953, allocations: 3.938 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3953, allocations: 4 kB / 412.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.3953, allocations: 3.984 kB / 412.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3954, allocations: 8.125 kB / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.3954, allocations: 0 / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.3954, allocations: 0 / 412.7 MB, free: 13.93 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.731e-05/0.3955, allocations: 121.7 kB / 412.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/0.3956, allocations: 53.92 kB / 412.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.3956, allocations: 15.47 kB / 412.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3956, allocations: 0 / 412.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3957, allocations: 0 / 412.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3957, allocations: 4 kB / 412.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3958, allocations: 153.7 kB / 413 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3958, allocations: 4 kB / 413 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.3958, allocations: 0 / 413 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3958, allocations: 0 / 413 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3959, allocations: 7.938 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.3959, allocations: 0 / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3959, allocations: 4 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.396, allocations: 81.3 kB / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.3961, allocations: 85.06 kB / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.3961, allocations: 7.938 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.3961, allocations: 4 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.3961, allocations: 0 / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3961, allocations: 0 / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.331e-05/0.3962, allocations: 87.22 kB / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3962, allocations: 0 / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001796/0.3964, allocations: 4 kB / 413.3 MB, free: 13.2 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.3965, allocations: 103.2 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.3966, allocations: 23.88 kB / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3966, allocations: 4 kB / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.3967, allocations: 3.984 kB / 413.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3969, allocations: 14.23 kB / 413.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.3972, allocations: 117.5 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3975, allocations: 0.6809 MB / 414.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.248e-05/0.3975, allocations: 4 kB / 414.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3975, allocations: 11.44 kB / 414.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3975, allocations: 0 / 414.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Templates: time 0.002317/0.3998, allocations: 312.5 kB / 414.5 MB, free: 11.88 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches