Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008598/0.0008601, allocations: 183.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 225.7 MB / 243.2 MB, free: 8.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008742, allocations: 94.31 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002639, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1929, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00121/0.1941, allocations: 1.136 MB / 405.7 MB, free: 30.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.1943, allocations: 97.55 kB / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.1944, allocations: 0 / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.1944, allocations: 0 / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.034e-05/0.1945, allocations: 3.938 kB / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1947, allocations: 22.08 kB / 405.8 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.1947, allocations: 27.92 kB / 405.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.009e-05/0.1948, allocations: 4 kB / 405.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.1949, allocations: 11.92 kB / 405.9 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.1949, allocations: 7.938 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1949, allocations: 0.8438 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.1949, allocations: 4 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1949, allocations: 0.7188 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.195, allocations: 49.55 kB / 405.9 MB, free: 29.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.195, allocations: 17.69 kB / 406 MB, free: 29.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.195, allocations: 0 / 406 MB, free: 29.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1951, allocations: 0 / 406 MB, free: 29.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.1951, allocations: 0 / 406 MB, free: 29.95 MB / 298.7 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.0002577/0.1953, allocations: 333.7 kB / 406.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1954, allocations: 8.625 kB / 406.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.1954, allocations: 8.406 kB / 406.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1955, allocations: 184.2 kB / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1955, allocations: 384 / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1955, allocations: 4.375 kB / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1958, allocations: 109.8 kB / 406.6 MB, free: 29.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1958, allocations: 192 / 406.6 MB, free: 29.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1958, allocations: 3.938 kB / 406.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1958, allocations: 0 / 406.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/0.1959, allocations: 27.92 kB / 406.6 MB, free: 29.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.954e-05/0.196, allocations: 157.7 kB / 406.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.1961, allocations: 46.56 kB / 406.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.1961, allocations: 24.92 kB / 406.8 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1961, allocations: 0 / 406.8 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.1962, allocations: 42.48 kB / 406.9 MB, free: 28.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1962, allocations: 0 / 406.9 MB, free: 28.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.00016/0.1963, allocations: 69.61 kB / 407 MB, free: 28.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.1964, allocations: 51.41 kB / 407 MB, free: 28.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.855e-05/0.1964, allocations: 109.8 kB / 407.1 MB, free: 28.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.1964, allocations: 25.7 kB / 407.1 MB, free: 28.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.1965, allocations: 84.14 kB / 407.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.1965, allocations: 4 kB / 407.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-06/0.1965, allocations: 0 / 407.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.1965, allocations: 314.8 kB / 407.5 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.1965, allocations: 4 kB / 407.5 MB, free: 28.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.1966, allocations: 31.36 kB / 407.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.1966, allocations: 39.38 kB / 407.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1966, allocations: 0 / 407.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.414e-05/0.1967, allocations: 53.62 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1967, allocations: 4 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1967, allocations: 7.875 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1967, allocations: 4 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.281e-05/0.1967, allocations: 4.125 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1968, allocations: 4 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.1968, allocations: 0 / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1968, allocations: 4 kB / 407.7 MB, free: 27.98 MB / 298.7 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 4.423e-05/0.1968, allocations: 117.7 kB / 407.8 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.1969, allocations: 61.67 kB / 407.9 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.1969, allocations: 7.438 kB / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1969, allocations: 0 / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.197, allocations: 4 kB / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.197, allocations: 0 / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.708e-05/0.197, allocations: 157.6 kB / 408 MB, free: 27.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.197, allocations: 0 / 408 MB, free: 27.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/0.197, allocations: 4 kB / 408 MB, free: 27.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.197, allocations: 256 / 408 MB, free: 27.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1971, allocations: 7.922 kB / 408 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1971, allocations: 4 kB / 408 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1971, allocations: 0 / 408 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.1972, allocations: 85.06 kB / 408.1 MB, free: 27.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.1972, allocations: 81.05 kB / 408.2 MB, free: 27.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1972, allocations: 11.88 kB / 408.2 MB, free: 27.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.1972, allocations: 3.984 kB / 408.2 MB, free: 27.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-06/0.1972, allocations: 0 / 408.2 MB, free: 27.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1972, allocations: 0 / 408.2 MB, free: 27.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.008e-05/0.1973, allocations: 83.28 kB / 408.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1973, allocations: 0 / 408.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.1974, allocations: 8 kB / 408.3 MB, free: 27.24 MB / 298.7 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 6.778e-05/0.1975, allocations: 107.2 kB / 408.4 MB, free: 27.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.526e-05/0.1976, allocations: 23.92 kB / 408.4 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1976, allocations: 0 / 408.4 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1976, allocations: 0 / 408.4 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.1978, allocations: 25.77 kB / 408.5 MB, free: 27.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.1981, allocations: 120.8 kB / 408.6 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.1982, allocations: 0.6809 MB / 409.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.227e-05/0.1982, allocations: 7.922 kB / 409.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.1983, allocations: 11.44 kB / 409.3 MB, free: 26.2 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1983, allocations: 0 / 409.3 MB, free: 26.2 MB / 298.7 MB Notification: Performance of Templates: time 0.00193/0.2002, allocations: 296.9 kB / 409.6 MB, free: 25.91 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches