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.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 182.5 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.331/1.331, allocations: 225.7 MB / 243.2 MB, free: 10.22 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.0007693/0.0007696, allocations: 97.78 kB / 294.4 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002632, allocations: 4 kB / 354.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001344/0.2285, allocations: 1.207 MB / 405.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.2288, allocations: 131.6 kB / 405.9 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.2289, allocations: 4.969 kB / 405.9 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.2289, allocations: 0 / 405.9 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.229, allocations: 8.734 kB / 405.9 MB, free: 30 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.2292, allocations: 39.91 kB / 406 MB, free: 29.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.2293, allocations: 25.17 kB / 406 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.2294, allocations: 14.16 kB / 406 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.2295, allocations: 19.84 kB / 406 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.645e-05/0.2295, allocations: 11.88 kB / 406 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.2295, allocations: 4 kB / 406 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-06/0.2295, allocations: 0 / 406 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.2296, allocations: 7.984 kB / 406 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.2296, allocations: 46.77 kB / 406.1 MB, free: 29.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.459e-05/0.2297, allocations: 39.8 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2297, allocations: 3.938 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2297, allocations: 7.25 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.2297, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002859/0.23, allocations: 348.9 kB / 406.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.23, allocations: 12.03 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.2301, allocations: 4.844 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2302, allocations: 188.2 kB / 406.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2302, allocations: 8.359 kB / 406.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2303, allocations: 14.44 kB / 406.7 MB, free: 29.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.2305, allocations: 117.2 kB / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2305, allocations: 192 / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2305, allocations: 7.938 kB / 406.8 MB, free: 29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2305, allocations: 0 / 406.8 MB, free: 29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.2306, allocations: 16 kB / 406.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.2308, allocations: 261.8 kB / 407.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2309, allocations: 138.2 kB / 407.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.231, allocations: 33.7 kB / 407.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.231, allocations: 0 / 407.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.05e-05/0.231, allocations: 34.56 kB / 407.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.231, allocations: 0 / 407.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001804/0.2312, allocations: 77.52 kB / 407.4 MB, free: 28.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2312, allocations: 77.11 kB / 407.4 MB, free: 28.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.2313, allocations: 133.8 kB / 407.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.2313, allocations: 25.83 kB / 407.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.2314, allocations: 92.14 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.2314, allocations: 0 / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.2314, allocations: 0 / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.2314, allocations: 318.8 kB / 408 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.2315, allocations: 8 kB / 408 MB, free: 27.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.2315, allocations: 31.42 kB / 408 MB, free: 27.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.08e-05/0.2316, allocations: 43.38 kB / 408.1 MB, free: 27.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2316, allocations: 0 / 408.1 MB, free: 27.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.498e-05/0.2317, allocations: 77.41 kB / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2317, allocations: 4 kB / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2317, allocations: 0 / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2317, allocations: 7.984 kB / 408.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.008e-05/0.2317, allocations: 3.938 kB / 408.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2317, allocations: 0 / 408.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.2318, allocations: 4 kB / 408.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.2318, allocations: 4 kB / 408.2 MB, free: 27.45 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.115e-05/0.2319, allocations: 125.8 kB / 408.3 MB, free: 27.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.232, allocations: 57.53 kB / 408.4 MB, free: 27.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.232, allocations: 3.906 kB / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.232, allocations: 4 kB / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.232, allocations: 3.938 kB / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.232, allocations: 4.312 kB / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2321, allocations: 173.5 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2321, allocations: 0 / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-06/0.2321, allocations: 7.984 kB / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2321, allocations: 3.984 kB / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.2322, allocations: 0 / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2322, allocations: 4 kB / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2322, allocations: 4 kB / 408.6 MB, free: 26.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.2323, allocations: 160.3 kB / 408.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.2323, allocations: 93 kB / 408.8 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2323, allocations: 0 / 408.8 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.2324, allocations: 8 kB / 408.8 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.2324, allocations: 3.984 kB / 408.8 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2324, allocations: 0 / 408.8 MB, free: 26.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.2325, allocations: 103.3 kB / 408.9 MB, free: 26.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2325, allocations: 0 / 408.9 MB, free: 26.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.2327, allocations: 4 kB / 408.9 MB, free: 26.59 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 7.085e-05/0.2328, allocations: 107.2 kB / 409 MB, free: 26.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.2329, allocations: 31.92 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2329, allocations: 0 / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.2329, allocations: 7.984 kB / 409.1 MB, free: 26.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2332, allocations: 25.34 kB / 409.1 MB, free: 26.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.2334, allocations: 177.7 kB / 409.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2335, allocations: 0.6848 MB / 410 MB, free: 25.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.08e-05/0.2336, allocations: 4 kB / 410 MB, free: 25.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.2336, allocations: 11.38 kB / 410 MB, free: 25.48 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2336, allocations: 0 / 410 MB, free: 25.48 MB / 298.7 MB Notification: Performance of Templates: time 0.001935/0.2355, allocations: 449.9 kB / 410.4 MB, free: 25.05 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches