Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 200.1 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008958/0.0008959, allocations: 95.16 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003525, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3161, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001662/0.3179, allocations: 1.214 MB / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003993/0.3183, allocations: 131.7 kB / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.3184, allocations: 7.938 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.3184, allocations: 5.641 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3186, allocations: 7.922 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.3189, allocations: 27.98 kB / 413.4 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.319, allocations: 27.92 kB / 413.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3191, allocations: 13.23 kB / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.3192, allocations: 15.92 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.347e-05/0.3192, allocations: 12.41 kB / 413.5 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3192, allocations: 5.938 kB / 413.5 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.3192, allocations: 0 / 413.5 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.3193, allocations: 11.98 kB / 413.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.3194, allocations: 49.45 kB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.3195, allocations: 39.8 kB / 413.6 MB, free: 24.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3195, allocations: 0 / 413.6 MB, free: 24.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3195, allocations: 7.438 kB / 413.6 MB, free: 24.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3195, allocations: 4 kB / 413.6 MB, free: 24.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004309/0.32, allocations: 348.9 kB / 414 MB, free: 23.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.32, allocations: 8.031 kB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.3201, allocations: 12.83 kB / 414 MB, free: 23.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3202, allocations: 188.2 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3202, allocations: 4.375 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3203, allocations: 8.375 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.3205, allocations: 125.4 kB / 414.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3206, allocations: 192 / 414.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3206, allocations: 7.938 kB / 414.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3206, allocations: 0 / 414.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.3207, allocations: 23.98 kB / 414.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.3209, allocations: 257.8 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3211, allocations: 138.2 kB / 414.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.3211, allocations: 29.77 kB / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3212, allocations: 0 / 414.8 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.3212, allocations: 38.5 kB / 414.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3212, allocations: 0 / 414.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.3214, allocations: 81.52 kB / 414.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3214, allocations: 77.11 kB / 414.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.3215, allocations: 133.8 kB / 415.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3216, allocations: 25.7 kB / 415.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.3216, allocations: 88.14 kB / 415.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.054e-06/0.3216, allocations: 0 / 415.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.3216, allocations: 0 / 415.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.3217, allocations: 318.8 kB / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.3217, allocations: 12.12 kB / 415.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.3218, allocations: 27.42 kB / 415.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.371e-05/0.3218, allocations: 47.38 kB / 415.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3218, allocations: 0 / 415.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.487e-05/0.3219, allocations: 69.47 kB / 415.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.322, allocations: 4 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.322, allocations: 7.922 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.322, allocations: 4 kB / 415.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-06/0.322, allocations: 0 / 415.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.322, allocations: 8.062 kB / 415.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.322, allocations: 4 kB / 415.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3221, allocations: 0 / 415.7 MB, free: 21.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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.892e-05/0.3221, allocations: 125.7 kB / 415.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.3222, allocations: 53.53 kB / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.3223, allocations: 11.84 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3223, allocations: 7.984 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3223, allocations: 0 / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3223, allocations: 0 / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3224, allocations: 177.5 kB / 416 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3224, allocations: 0 / 416 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.3224, allocations: 4 kB / 416 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3225, allocations: 0 / 416 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3225, allocations: 0 / 416 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3225, allocations: 0 / 416 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3225, allocations: 0 / 416 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.3226, allocations: 164.3 kB / 416.2 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.3226, allocations: 93.38 kB / 416.3 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3227, allocations: 3.938 kB / 416.3 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.3227, allocations: 7.984 kB / 416.3 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.3228, allocations: 0 / 416.3 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3228, allocations: 0 / 416.3 MB, free: 21.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.3228, allocations: 103.3 kB / 416.4 MB, free: 21.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3228, allocations: 0 / 416.4 MB, free: 21.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.323, allocations: 4 kB / 416.4 MB, free: 21.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0001034/0.3231, allocations: 111.2 kB / 416.5 MB, free: 21.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3232, allocations: 31.92 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3233, allocations: 0 / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.3233, allocations: 7.984 kB / 416.6 MB, free: 20.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3236, allocations: 28.28 kB / 416.6 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.3239, allocations: 177.1 kB / 416.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3241, allocations: 0.6887 MB / 417.5 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.346e-05/0.3241, allocations: 4 kB / 417.5 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.3241, allocations: 11.44 kB / 417.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3241, allocations: 0 / 417.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of Templates: time 0.002432/0.3266, allocations: 448.1 kB / 417.9 MB, free: 19.58 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches