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.001658/0.001658, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001355/0.001355, allocations: 188 kB / 18 MB, free: 5.219 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.529/1.529, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 47.94 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4182, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003545/0.4218, allocations: 1.424 MB / 402.1 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.4222, allocations: 27.86 kB / 402.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.4223, allocations: 0 / 402.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.4223, allocations: 0 / 402.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.4224, allocations: 3.938 kB / 402.2 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.4228, allocations: 23.97 kB / 402.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.4229, allocations: 27.92 kB / 402.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.423, allocations: 15.97 kB / 402.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.4231, allocations: 19.92 kB / 402.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.4232, allocations: 11.94 kB / 402.3 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.4232, allocations: 4 kB / 402.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.4232, allocations: 0 / 402.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.4232, allocations: 7.984 kB / 402.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.4233, allocations: 7.938 kB / 402.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.4234, allocations: 35.83 kB / 402.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4235, allocations: 0 / 402.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4235, allocations: 0 / 402.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.4235, allocations: 0 / 402.3 MB, free: 7.285 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.0005179/0.424, allocations: 344.9 kB / 402.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4241, allocations: 8.031 kB / 402.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.4241, allocations: 4.938 kB / 402.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.4244, allocations: 187.8 kB / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4244, allocations: 384 / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.4244, allocations: 8.375 kB / 402.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.4248, allocations: 115.9 kB / 403 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4248, allocations: 192 / 403 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4248, allocations: 3.938 kB / 403 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4248, allocations: 3.984 kB / 403 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.4249, allocations: 15.98 kB / 403 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.4251, allocations: 157.7 kB / 403.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.4252, allocations: 50.48 kB / 403.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.4253, allocations: 32.92 kB / 403.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.4253, allocations: 0 / 403.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4254, allocations: 30.56 kB / 403.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4254, allocations: 0 / 403.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002634/0.4256, allocations: 73.61 kB / 403.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.4257, allocations: 63.33 kB / 403.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.4258, allocations: 97.86 kB / 403.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.4259, allocations: 29.7 kB / 403.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.4259, allocations: 92.12 kB / 403.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.4259, allocations: 3.906 kB / 403.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.426, allocations: 17.72 kB / 403.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4261, allocations: 314.8 kB / 403.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.4261, allocations: 11.98 kB / 404 MB, free: 5.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.4262, allocations: 23.44 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.4262, allocations: 39.38 kB / 404 MB, free: 5.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4262, allocations: 4 kB / 404 MB, free: 5.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.075e-05/0.4263, allocations: 57.62 kB / 404.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4263, allocations: 8 kB / 404.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4264, allocations: 8.062 kB / 404.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4264, allocations: 0 / 404.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/0.4264, allocations: 7.938 kB / 404.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4265, allocations: 4 kB / 404.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.4265, allocations: 4.359 kB / 404.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.4265, allocations: 0 / 404.1 MB, free: 5.25 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 9.255e-05/0.4266, allocations: 113.8 kB / 404.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.4267, allocations: 69.75 kB / 404.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.4268, allocations: 7.438 kB / 404.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4268, allocations: 8 kB / 404.3 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.4268, allocations: 7.938 kB / 404.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4268, allocations: 0 / 404.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.4269, allocations: 157.6 kB / 404.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4269, allocations: 0 / 404.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.427, allocations: 7.984 kB / 404.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.427, allocations: 0 / 404.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.427, allocations: 3.938 kB / 404.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.427, allocations: 0 / 404.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.427, allocations: 0 / 404.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.4272, allocations: 89.11 kB / 404.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.4272, allocations: 77.11 kB / 404.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.4272, allocations: 7.938 kB / 404.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.4273, allocations: 7.984 kB / 404.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-06/0.4273, allocations: 0 / 404.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4273, allocations: 0 / 404.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.4273, allocations: 83.22 kB / 404.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4273, allocations: 0 / 404.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.4275, allocations: 8 kB / 404.7 MB, free: 4.508 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.0001413/0.4277, allocations: 115.1 kB / 404.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4278, allocations: 23.98 kB / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4279, allocations: 0 / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.4279, allocations: 0 / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.4281, allocations: 30.61 kB / 404.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.4285, allocations: 117.8 kB / 405 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.4288, allocations: 0.6883 MB / 405.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.78e-05/0.4289, allocations: 0 / 405.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.4289, allocations: 11.44 kB / 405.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4289, allocations: 0 / 405.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of Templates: time 0.002551/0.4315, allocations: 372.7 kB / 406.1 MB, free: 3.102 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/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