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.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 177.3 kB / 16.71 MB, free: 5.094 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.232/1.232, allocations: 225.7 MB / 243.2 MB, free: 8.449 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.0007036/0.0007037, allocations: 94.62 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002647, allocations: 8 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001215/0.2071, allocations: 1.194 MB / 405.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002632/0.2074, allocations: 131.7 kB / 405.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.2075, allocations: 4 kB / 405.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.2075, allocations: 3.938 kB / 405.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.984e-05/0.2076, allocations: 0 / 405.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.2079, allocations: 39.16 kB / 405.9 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.2079, allocations: 23.92 kB / 406 MB, free: 29.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.208, allocations: 15.97 kB / 406 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.208, allocations: 11.94 kB / 406 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.253e-05/0.2081, allocations: 3.938 kB / 406 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2081, allocations: 4 kB / 406 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.2081, allocations: 0 / 406 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.2082, allocations: 11.92 kB / 406 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.2082, allocations: 42.08 kB / 406.1 MB, free: 29.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.25e-05/0.2083, allocations: 36.66 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2083, allocations: 3.938 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2083, allocations: 0.5625 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2083, allocations: 0 / 406.1 MB, free: 29.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003321/0.2087, allocations: 350.9 kB / 406.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2087, allocations: 12.03 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.2087, allocations: 8.781 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2089, allocations: 188.8 kB / 406.6 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2089, allocations: 4.375 kB / 406.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.2089, allocations: 0.875 kB / 406.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.2091, allocations: 96.23 kB / 406.7 MB, free: 29.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2091, allocations: 192 / 406.7 MB, free: 29.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.2091, allocations: 3.938 kB / 406.7 MB, free: 29.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2091, allocations: 1.531 kB / 406.8 MB, free: 29.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.2092, allocations: 15.98 kB / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.2094, allocations: 255.5 kB / 407 MB, free: 28.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/0.2095, allocations: 49.09 kB / 407.1 MB, free: 28.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.2095, allocations: 21.77 kB / 407.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2096, allocations: 3.984 kB / 407.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.2096, allocations: 30.56 kB / 407.1 MB, free: 28.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2096, allocations: 4 kB / 407.1 MB, free: 28.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.2097, allocations: 61.53 kB / 407.2 MB, free: 28.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2098, allocations: 85.05 kB / 407.3 MB, free: 28.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.2099, allocations: 129.8 kB / 407.4 MB, free: 28.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.2099, allocations: 25.7 kB / 407.4 MB, free: 28.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.2099, allocations: 92.12 kB / 407.5 MB, free: 28.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.2099, allocations: 8.156 kB / 407.5 MB, free: 28.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.2099, allocations: 0 / 407.5 MB, free: 28.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.21, allocations: 314.8 kB / 407.8 MB, free: 27.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.21, allocations: 4 kB / 407.8 MB, free: 27.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.21, allocations: 21.7 kB / 407.8 MB, free: 27.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.2101, allocations: 25.78 kB / 407.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2101, allocations: 0 / 407.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.14e-05/0.2102, allocations: 57.56 kB / 407.9 MB, free: 27.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2102, allocations: 4 kB / 407.9 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2102, allocations: 0 / 407.9 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2102, allocations: 0 / 407.9 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.406e-05/0.2102, allocations: 0 / 407.9 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2102, allocations: 7.938 kB / 407.9 MB, free: 27.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.2103, allocations: 4.062 kB / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.2103, allocations: 0 / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.858e-05/0.2103, allocations: 133.6 kB / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.2104, allocations: 33.61 kB / 408.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.2104, allocations: 15.45 kB / 408.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2104, allocations: 0 / 408.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2104, allocations: 0 / 408.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2104, allocations: 0 / 408.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2105, allocations: 169.6 kB / 408.3 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2105, allocations: 4 kB / 408.3 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-06/0.2106, allocations: 0 / 408.3 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2106, allocations: 0 / 408.3 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2106, allocations: 3.984 kB / 408.3 MB, free: 27.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2106, allocations: 0 / 408.3 MB, free: 27.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2106, allocations: 4 kB / 408.3 MB, free: 27.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.441e-05/0.2107, allocations: 160.3 kB / 408.5 MB, free: 27.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.2107, allocations: 89 kB / 408.5 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2107, allocations: 0 / 408.5 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.2108, allocations: 3.984 kB / 408.5 MB, free: 26.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.2108, allocations: 4 kB / 408.6 MB, free: 26.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.2108, allocations: 4 kB / 408.6 MB, free: 26.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.2109, allocations: 99.27 kB / 408.7 MB, free: 26.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2109, allocations: 0 / 408.7 MB, free: 26.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.2111, allocations: 4.031 kB / 408.7 MB, free: 26.86 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.375e-05/0.2112, allocations: 111.2 kB / 408.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.878e-05/0.2113, allocations: 19.94 kB / 408.8 MB, free: 26.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2113, allocations: 0 / 408.8 MB, free: 26.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.2113, allocations: 7.984 kB / 408.8 MB, free: 26.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2116, allocations: 16.83 kB / 408.8 MB, free: 26.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.2118, allocations: 165.7 kB / 409 MB, free: 26.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.212, allocations: 0.6848 MB / 409.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.212, allocations: 0 / 409.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.212, allocations: 15.38 kB / 409.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.212, allocations: 4 kB / 409.7 MB, free: 25.78 MB / 298.7 MB Notification: Performance of Templates: time 0.00188/0.2139, allocations: 390.5 kB / 410.1 MB, free: 25.41 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches