Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 96.81 kB / 17.31 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 179.3 kB / 18.21 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.3 MB / 242.3 MB, free: 4 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002168/0.0002168, allocations: 7.938 kB / 302.1 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.0771, allocations: 50.42 MB / 352.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001447/0.07857, allocations: 1.135 MB / 353.6 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.07881, allocations: 100.4 kB / 353.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.07887, allocations: 0 / 353.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.07889, allocations: 7.922 kB / 353.7 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.009e-05/0.07893, allocations: 7.984 kB / 353.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.07913, allocations: 19.31 kB / 353.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.0792, allocations: 27.92 kB / 353.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.07928, allocations: 7.984 kB / 353.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.07931, allocations: 7.938 kB / 353.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.07934, allocations: 11.92 kB / 353.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.07937, allocations: 0 / 353.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.07938, allocations: 4 kB / 353.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.0794, allocations: 0 / 353.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.07944, allocations: 41.58 kB / 353.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.87e-05/0.0795, allocations: 15.97 kB / 353.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.0795, allocations: 3.938 kB / 353.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.07951, allocations: 3.984 kB / 353.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.465e-06/0.07952, allocations: 0 / 353.9 MB, free: 2.258 MB / 286.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.0003519/0.07988, allocations: 331.7 kB / 354.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.07992, allocations: 12.03 kB / 354.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.07995, allocations: 0.9375 kB / 354.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.08012, allocations: 180.3 kB / 354.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.08014, allocations: 4.375 kB / 354.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.08016, allocations: 4.375 kB / 354.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.08043, allocations: 107.8 kB / 354.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.08045, allocations: 192 / 354.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.08046, allocations: 3.938 kB / 354.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.08047, allocations: 0 / 354.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.08054, allocations: 16 kB / 354.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.08069, allocations: 161.6 kB / 354.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.08083, allocations: 46.56 kB / 354.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.08089, allocations: 24.92 kB / 354.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.08092, allocations: 8 kB / 354.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.08094, allocations: 30.56 kB / 354.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.08095, allocations: 0 / 354.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001857/0.08114, allocations: 77.45 kB / 354.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.08119, allocations: 55.39 kB / 354.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.08127, allocations: 101.9 kB / 355 MB, free: 0.918 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.08129, allocations: 25.7 kB / 355.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.08133, allocations: 88.14 kB / 355.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.08134, allocations: 3.984 kB / 355.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.08137, allocations: 13.72 kB / 355.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.08148, allocations: 314.8 kB / 355.5 MB, free: 468 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.08149, allocations: 4 kB / 355.5 MB, free: 464 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.08152, allocations: 27.42 kB / 355.5 MB, free: 424 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.08157, allocations: 35.38 kB / 355.5 MB, free: 376 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.08158, allocations: 0 / 355.5 MB, free: 376 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.213e-05/0.08167, allocations: 57.56 kB / 355.6 MB, free: 312 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.08169, allocations: 11.94 kB / 355.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.0817, allocations: 4.062 kB / 355.6 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.08171, allocations: 4 kB / 355.6 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.901e-05/0.08176, allocations: 4 kB / 355.6 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.08177, allocations: 0 / 355.6 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.0818, allocations: 8.25 kB / 355.6 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.08181, allocations: 4 kB / 355.6 MB, free: 276 kB / 286.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 6.834e-05/0.08188, allocations: 117.7 kB / 355.7 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.08199, allocations: 61.53 kB / 355.8 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.08203, allocations: 15.42 kB / 355.8 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.08204, allocations: 4 kB / 355.8 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.08204, allocations: 0 / 355.8 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.08205, allocations: 0 / 355.8 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.08216, allocations: 153.7 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.08217, allocations: 0 / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.08219, allocations: 0 / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.0822, allocations: 4 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.08221, allocations: 3.938 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.08222, allocations: 3.938 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.08223, allocations: 0 / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.08235, allocations: 85.11 kB / 356.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.0824, allocations: 77.11 kB / 356.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.08241, allocations: 3.938 kB / 356.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.444e-05/0.08244, allocations: 8 kB / 356.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.08245, allocations: 0 / 356.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.08246, allocations: 0 / 356.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.08251, allocations: 87.2 kB / 356.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.08252, allocations: 4 kB / 356.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.08272, allocations: 4 kB / 356.2 MB, free: 15.54 MB / 302.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 7.272e-05/0.08279, allocations: 99.25 kB / 356.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.08289, allocations: 23.98 kB / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.0829, allocations: 0 / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.08291, allocations: 3.938 kB / 356.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.08312, allocations: 20.25 kB / 356.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.08336, allocations: 150.3 kB / 356.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.0836, allocations: 0.677 MB / 357.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.08363, allocations: 11.44 kB / 357.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.08363, allocations: 0 / 357.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Templates: time 0.001543/0.08518, allocations: 0.532 MB / 357.8 MB, free: 13.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches