Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002193/0.002193, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.539/2.539, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 64.14 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6965, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.005266/0.7018, allocations: 1.432 MB / 411.4 MB, free: 180 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.7024, allocations: 99.69 kB / 411.5 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.7026, allocations: 0 / 411.5 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.287e-05/0.7027, allocations: 3.938 kB / 411.5 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.7028, allocations: 4 kB / 411.5 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.7032, allocations: 23.91 kB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.7034, allocations: 27.92 kB / 411.5 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.7036, allocations: 15.97 kB / 411.5 MB, free: 4 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.7037, allocations: 11.97 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.7038, allocations: 7.938 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.7039, allocations: 4 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.7039, allocations: 0 / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.7039, allocations: 7.938 kB / 411.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.704, allocations: 19.88 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.7042, allocations: 27.91 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.7042, allocations: 0 / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.7042, allocations: 0 / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.7042, allocations: 0 / 411.6 MB, free: 15.93 MB / 334.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.0007356/0.705, allocations: 335.1 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.7051, allocations: 8.031 kB / 411.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.7051, allocations: 4.938 kB / 411.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.7057, allocations: 188.2 kB / 412.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.7058, allocations: 8.375 kB / 412.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.7058, allocations: 384 / 412.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.7064, allocations: 95.89 kB / 412.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.7064, allocations: 192 / 412.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.7065, allocations: 3.938 kB / 412.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.7065, allocations: 7.984 kB / 412.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.7066, allocations: 12 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.707, allocations: 161.6 kB / 412.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.7072, allocations: 46.5 kB / 412.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.7074, allocations: 20.89 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.7074, allocations: 4.047 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.203e-05/0.7076, allocations: 38.55 kB / 412.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.7076, allocations: 0 / 412.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004326/0.708, allocations: 61.62 kB / 412.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7081, allocations: 55.41 kB / 412.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.7083, allocations: 109.8 kB / 412.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.7084, allocations: 25.7 kB / 412.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.7085, allocations: 92.08 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.7085, allocations: 0 / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.7086, allocations: 21.7 kB / 412.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.7088, allocations: 314.8 kB / 413.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.7088, allocations: 7.938 kB / 413.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.7089, allocations: 27.44 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.371e-05/0.709, allocations: 35.36 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.709, allocations: 0 / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.7092, allocations: 53.64 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.7092, allocations: 11.98 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.7093, allocations: 3.938 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.7093, allocations: 0 / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.7094, allocations: 4 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.7094, allocations: 8.062 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.7095, allocations: 5.406 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.7095, allocations: 0 / 413.3 MB, free: 13.94 MB / 334.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 0.0001894/0.7097, allocations: 117.8 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.7098, allocations: 49.97 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.7099, allocations: 15.47 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.7099, allocations: 0 / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.7099, allocations: 3.984 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.71, allocations: 0 / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.7102, allocations: 161.5 kB / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.7102, allocations: 0 / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.7102, allocations: 4 kB / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7103, allocations: 0 / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.7103, allocations: 7.938 kB / 413.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7103, allocations: 3.938 kB / 413.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7103, allocations: 0 / 413.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.7105, allocations: 81.11 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.7106, allocations: 81.11 kB / 413.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.7107, allocations: 3.938 kB / 413.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.147e-05/0.7107, allocations: 4.188 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-06/0.7107, allocations: 4 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.7107, allocations: 4 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.7108, allocations: 87.27 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7108, allocations: 0 / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.7112, allocations: 4 kB / 414 MB, free: 13.21 MB / 334.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.0002107/0.7114, allocations: 99.25 kB / 414.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.7116, allocations: 23.92 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7117, allocations: 3.938 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.7117, allocations: 0 / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.7121, allocations: 18.23 kB / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.7127, allocations: 139.2 kB / 414.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.7132, allocations: 0.6809 MB / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.7132, allocations: 11.44 kB / 414.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.7132, allocations: 4 kB / 414.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003562/0.7168, allocations: 0.5426 MB / 415.5 MB, free: 11.62 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches