Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001406/0.001406, allocations: 188.5 kB / 18.67 MB, free: 4.43 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 47.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.319, allocations: 49.43 MB / 401.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00283/0.3219, allocations: 1.423 MB / 402.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002027/0.3222, allocations: 39.84 kB / 402.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.3222, allocations: 0 / 402.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.3223, allocations: 3.938 kB / 402.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.3223, allocations: 4 kB / 402.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.3226, allocations: 23.92 kB / 402.9 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.741e-05/0.3227, allocations: 27.97 kB / 402.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3228, allocations: 11.98 kB / 402.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.3229, allocations: 11.92 kB / 402.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.3229, allocations: 11.94 kB / 402.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.3229, allocations: 4 kB / 403 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.323, allocations: 4 kB / 403 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.323, allocations: 7.984 kB / 403 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.323, allocations: 15.88 kB / 403 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.376e-05/0.3231, allocations: 31.83 kB / 403 MB, free: 7.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3231, allocations: 8 kB / 403 MB, free: 7.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3232, allocations: 0 / 403 MB, free: 7.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3232, allocations: 0 / 403 MB, free: 7.406 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.000469/0.3236, allocations: 336.7 kB / 403.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3237, allocations: 15.89 kB / 403.4 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3237, allocations: 0.9375 kB / 403.4 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3239, allocations: 188.2 kB / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.324, allocations: 384 / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.324, allocations: 8.375 kB / 403.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.3243, allocations: 115.8 kB / 403.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3244, allocations: 4.125 kB / 403.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3244, allocations: 7.938 kB / 403.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3244, allocations: 0 / 403.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3245, allocations: 23.97 kB / 403.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3247, allocations: 165.6 kB / 403.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3248, allocations: 54.55 kB / 403.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.3249, allocations: 28.92 kB / 403.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.325, allocations: 0 / 403.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.325, allocations: 34.56 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.325, allocations: 3.938 kB / 404 MB, free: 6.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002988/0.3253, allocations: 85.53 kB / 404.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.3254, allocations: 59.31 kB / 404.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.3255, allocations: 109.8 kB / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3255, allocations: 25.7 kB / 404.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.3255, allocations: 88.14 kB / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.3255, allocations: 0 / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.3256, allocations: 17.72 kB / 404.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3257, allocations: 314.8 kB / 404.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.3257, allocations: 8 kB / 404.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.3258, allocations: 31.38 kB / 404.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.3258, allocations: 39.42 kB / 404.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3258, allocations: 384 / 404.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.063e-05/0.3259, allocations: 65.56 kB / 404.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3259, allocations: 8 kB / 404.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3259, allocations: 3.938 kB / 404.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.326, allocations: 4 kB / 404.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.326, allocations: 8 kB / 404.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.326, allocations: 0 / 404.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.3261, allocations: 7.906 kB / 404.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.3261, allocations: 0 / 404.8 MB, free: 5.328 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 8.845e-05/0.3262, allocations: 121.9 kB / 405 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.3263, allocations: 69.84 kB / 405 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.3264, allocations: 11.83 kB / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3264, allocations: 0 / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3264, allocations: 3.938 kB / 405 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3264, allocations: 0 / 405 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.938e-05/0.3265, allocations: 153.7 kB / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3265, allocations: 0 / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.3266, allocations: 11.98 kB / 405.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3266, allocations: 0 / 405.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3266, allocations: 15.94 kB / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3266, allocations: 3.984 kB / 405.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3266, allocations: 0 / 405.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3268, allocations: 96.94 kB / 405.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.3268, allocations: 77.11 kB / 405.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3268, allocations: 7.938 kB / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.3269, allocations: 0 / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.3269, allocations: 0 / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3269, allocations: 15.92 kB / 405.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.3269, allocations: 83.28 kB / 405.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3269, allocations: 0 / 405.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001833/0.3271, allocations: 4 kB / 405.5 MB, free: 4.555 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.0001052/0.3272, allocations: 99.19 kB / 405.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.3274, allocations: 35.91 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3274, allocations: 256 / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3274, allocations: 4 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3277, allocations: 29.7 kB / 405.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.328, allocations: 139.3 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3283, allocations: 0.6844 MB / 406.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.3284, allocations: 7.438 kB / 406.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3284, allocations: 3.938 kB / 406.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of Templates: time 0.002348/0.3307, allocations: 0.633 MB / 407.1 MB, free: 2.855 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches