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.001744/0.001744, allocations: 111.3 kB / 17.28 MB, free: 6.312 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.001846/0.001846, allocations: 189.4 kB / 18.21 MB, free: 5.387 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.34/1.34, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 51.58 kB / 300.8 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08801, allocations: 49.44 MB / 350.2 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002798/0.09085, allocations: 1.487 MB / 351.7 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.09116, allocations: 95.69 kB / 351.8 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.09125, allocations: 4 kB / 351.8 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.0913, allocations: 4 kB / 351.8 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.09137, allocations: 7.922 kB / 351.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.09162, allocations: 29.28 kB / 351.9 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.0917, allocations: 19.92 kB / 351.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.09181, allocations: 11.98 kB / 351.9 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.09185, allocations: 11.94 kB / 351.9 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.09189, allocations: 11.92 kB / 351.9 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.09191, allocations: 4 kB / 351.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.09193, allocations: 0 / 351.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.09195, allocations: 12 kB / 351.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.09199, allocations: 11.88 kB / 351.9 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.546e-05/0.09206, allocations: 15.97 kB / 352 MB, free: 2.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.09207, allocations: 4 kB / 352 MB, free: 2.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09208, allocations: 0 / 352 MB, free: 2.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09209, allocations: 0 / 352 MB, free: 2.789 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.0004023/0.09249, allocations: 335.7 kB / 352.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.09254, allocations: 15.88 kB / 352.3 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.09258, allocations: 4.844 kB / 352.3 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.09276, allocations: 188.3 kB / 352.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.09279, allocations: 384 / 352.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.0928, allocations: 384 / 352.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.09309, allocations: 95.89 kB / 352.6 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.09311, allocations: 192 / 352.6 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.09314, allocations: 11.88 kB / 352.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.09315, allocations: 3.984 kB / 352.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.336e-05/0.09322, allocations: 16 kB / 352.6 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.09337, allocations: 157.7 kB / 352.8 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.09351, allocations: 46.5 kB / 352.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.09357, allocations: 20.89 kB / 352.8 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.0936, allocations: 4.031 kB / 352.8 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.09363, allocations: 34.56 kB / 352.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.09364, allocations: 0 / 352.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001935/0.09384, allocations: 65.53 kB / 352.9 MB, free: 1.633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.09389, allocations: 55.41 kB / 353 MB, free: 1.566 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.09397, allocations: 101.8 kB / 353.1 MB, free: 1.457 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.09399, allocations: 25.7 kB / 353.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.09404, allocations: 92.08 kB / 353.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.09405, allocations: 0 / 353.2 MB, free: 1.332 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.09409, allocations: 25.7 kB / 353.2 MB, free: 1.301 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.09421, allocations: 310.8 kB / 353.5 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.09423, allocations: 7.938 kB / 353.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.09426, allocations: 27.44 kB / 353.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.09431, allocations: 39.36 kB / 353.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.09432, allocations: 0 / 353.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.062e-05/0.0944, allocations: 49.92 kB / 353.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.09443, allocations: 11.98 kB / 353.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.09444, allocations: 3.938 kB / 353.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.09445, allocations: 0 / 353.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.0945, allocations: 4.125 kB / 353.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.09451, allocations: 7.938 kB / 353.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.09454, allocations: 8.234 kB / 353.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.09455, allocations: 4 kB / 353.7 MB, free: 0.7969 MB / 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.754e-05/0.09462, allocations: 117.8 kB / 353.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.09472, allocations: 53.59 kB / 353.9 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.09476, allocations: 11.44 kB / 353.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.09477, allocations: 0 / 353.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.09478, allocations: 3.984 kB / 353.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.09479, allocations: 4 kB / 353.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.849e-05/0.09488, allocations: 153.7 kB / 354 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.09489, allocations: 0 / 354 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.09491, allocations: 4 kB / 354 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.09492, allocations: 0 / 354 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.09493, allocations: 3.938 kB / 354 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.09494, allocations: 3.938 kB / 354 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.09494, allocations: 0 / 354 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.09507, allocations: 89.05 kB / 354.1 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.09511, allocations: 81.02 kB / 354.2 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.09513, allocations: 3.938 kB / 354.2 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.09515, allocations: 4 kB / 354.2 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.09516, allocations: 0 / 354.2 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.09517, allocations: 0 / 354.2 MB, free: 168 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.09523, allocations: 87.27 kB / 354.3 MB, free: 80 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09524, allocations: 0 / 354.3 MB, free: 80 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000188/0.09543, allocations: 4 kB / 354.3 MB, free: 76 kB / 286.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.0001103/0.09555, allocations: 103.2 kB / 354.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.09567, allocations: 27.92 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.09569, allocations: 3.938 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.09569, allocations: 0 / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.0959, allocations: 26.38 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.09619, allocations: 139.5 kB / 354.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.09646, allocations: 0.6846 MB / 355.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.09649, allocations: 15.42 kB / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.0965, allocations: 0 / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of Templates: time 0.001746/0.09825, allocations: 0.5428 MB / 355.8 MB, free: 14.47 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