Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001201/0.001201, allocations: 188.5 kB / 18.67 MB, free: 4.441 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3266, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00284/0.3295, allocations: 1.421 MB / 402.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001951/0.3297, allocations: 31.91 kB / 402.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.3298, allocations: 0 / 402.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.3298, allocations: 3.938 kB / 402.9 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.3299, allocations: 7.938 kB / 402.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.3301, allocations: 19.97 kB / 402.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.3302, allocations: 27.92 kB / 402.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3303, allocations: 12 kB / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.3304, allocations: 15.92 kB / 402.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.3304, allocations: 11.94 kB / 402.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3305, allocations: 4 kB / 403 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.3305, allocations: 0 / 403 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.3305, allocations: 11.97 kB / 403 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.3305, allocations: 7.938 kB / 403 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.3306, allocations: 31.84 kB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3306, allocations: 0 / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3306, allocations: 4 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3307, allocations: 0 / 403 MB, free: 7.254 MB / 318.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.0004226/0.3311, allocations: 340.9 kB / 403.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3311, allocations: 11.89 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.3312, allocations: 0.9375 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3314, allocations: 183.9 kB / 403.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3314, allocations: 4.312 kB / 403.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3314, allocations: 4.375 kB / 403.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.3318, allocations: 127.8 kB / 403.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3318, allocations: 192 / 403.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3318, allocations: 3.938 kB / 403.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3318, allocations: 0 / 403.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.3319, allocations: 19.98 kB / 403.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.3321, allocations: 157.7 kB / 403.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3322, allocations: 54.5 kB / 403.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.3323, allocations: 24.92 kB / 403.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3323, allocations: 0 / 403.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3323, allocations: 34.56 kB / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3324, allocations: 0 / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002538/0.3326, allocations: 81.53 kB / 404 MB, free: 6.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3327, allocations: 55.41 kB / 404.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/0.3328, allocations: 101.9 kB / 404.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3328, allocations: 33.64 kB / 404.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.3328, allocations: 88.12 kB / 404.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.3329, allocations: 7.844 kB / 404.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.3329, allocations: 17.72 kB / 404.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.333, allocations: 310.8 kB / 404.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.333, allocations: 7.984 kB / 404.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.3331, allocations: 35.81 kB / 404.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.3331, allocations: 31.38 kB / 404.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3331, allocations: 4 kB / 404.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.652e-05/0.3332, allocations: 65.69 kB / 404.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3333, allocations: 8 kB / 404.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3333, allocations: 3.938 kB / 404.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3333, allocations: 0 / 404.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.3333, allocations: 7.984 kB / 404.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3334, allocations: 7.938 kB / 404.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.3334, allocations: 0 / 404.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3334, allocations: 0 / 404.8 MB, free: 5.207 MB / 318.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: 5 ($CLKPRE.step.counter,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.3335, allocations: 113.8 kB / 404.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3336, allocations: 65.64 kB / 405 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.3337, allocations: 11.44 kB / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3337, allocations: 4 kB / 405 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3337, allocations: 0 / 405 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3337, allocations: 0 / 405 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.3338, allocations: 157.9 kB / 405.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3338, allocations: 0 / 405.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.3339, allocations: 4 kB / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3339, allocations: 3.938 kB / 405.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3339, allocations: 7.922 kB / 405.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3339, allocations: 0 / 405.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3339, allocations: 4 kB / 405.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3341, allocations: 85.11 kB / 405.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.3341, allocations: 77.11 kB / 405.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3341, allocations: 7.922 kB / 405.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.3342, allocations: 8 kB / 405.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-06/0.3342, allocations: 3.938 kB / 405.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3342, allocations: 3.938 kB / 405.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.091e-05/0.3342, allocations: 83.28 kB / 405.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3342, allocations: 0 / 405.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.3345, allocations: 4 kB / 405.4 MB, free: 4.469 MB / 318.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: 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 (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.0001272/0.3346, allocations: 111.2 kB / 405.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3347, allocations: 27.92 kB / 405.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3347, allocations: 0 / 405.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3347, allocations: 0 / 405.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.335, allocations: 28.2 kB / 405.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.3353, allocations: 147.2 kB / 405.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3356, allocations: 0.6844 MB / 406.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.3356, allocations: 7.438 kB / 406.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3356, allocations: 0 / 406.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of Templates: time 0.002012/0.3376, allocations: 0.608 MB / 407 MB, free: 2.789 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches