Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00289/0.00289, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003138/0.003138, allocations: 71.88 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4149, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001862/0.4168, allocations: 497.1 kB / 0.5623 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.4179, allocations: 373.3 kB / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.396e-05/0.4179, allocations: 0 / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.4179, allocations: 0 / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.4179, allocations: 0 / 0.5626 GB, free: 3.332 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.4189, allocations: 207.2 kB / 0.5628 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.4189, allocations: 4 kB / 0.5628 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.419, allocations: 0 / 0.5628 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.419, allocations: 11.92 kB / 0.5628 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.08e-05/0.419, allocations: 0 / 0.5628 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.419, allocations: 4 kB / 0.5629 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.4195, allocations: 219.6 kB / 0.5631 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.4195, allocations: 7.938 kB / 0.5631 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.4195, allocations: 0 / 0.5631 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.4198, allocations: 150.1 kB / 0.5632 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4198, allocations: 0 / 0.5632 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4198, allocations: 0 / 0.5632 GB, free: 2.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4198, allocations: 0 / 0.5632 GB, free: 2.75 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000422/0.4202, allocations: 299.9 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4203, allocations: 11.97 kB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.4203, allocations: 0.9375 kB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.4204, allocations: 110.5 kB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4204, allocations: 4.375 kB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.4204, allocations: 384 / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.4205, allocations: 63.95 kB / 0.5637 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4205, allocations: 192 / 0.5637 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4206, allocations: 3.938 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4206, allocations: 0 / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.4206, allocations: 25.7 kB / 0.5637 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.4207, allocations: 97.33 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.4208, allocations: 44.22 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.4208, allocations: 50.62 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.4209, allocations: 0 / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.771e-05/0.4209, allocations: 56.27 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.4209, allocations: 0 / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000243/0.4212, allocations: 122.7 kB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4212, allocations: 81.11 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.4213, allocations: 93.86 kB / 0.5642 GB, free: 1.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4213, allocations: 25.7 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.4214, allocations: 80.14 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.4214, allocations: 3.938 kB / 0.5643 GB, free: 1.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.4214, allocations: 17.84 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.4217, allocations: 310.8 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.4217, allocations: 25.7 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.4217, allocations: 29.7 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/0.4218, allocations: 72.25 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4218, allocations: 0 / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.625e-05/0.4219, allocations: 85.11 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.4219, allocations: 33.64 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4219, allocations: 0 / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4219, allocations: 4.078 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-06/0.4219, allocations: 7.938 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4219, allocations: 3.938 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.422, allocations: 4 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.422, allocations: 0 / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001029/0.4221, allocations: 135.5 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-06/0.4221, allocations: 4 kB / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.4221, allocations: 3 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4221, allocations: 3.938 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4221, allocations: 0 / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4221, allocations: 0 / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.454e-05/0.4222, allocations: 109.2 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.4222, allocations: 0 / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.4222, allocations: 0 / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.4222, allocations: 0 / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.4222, allocations: 0 / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4222, allocations: 0 / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4222, allocations: 3.938 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.4223, allocations: 116.5 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.4223, allocations: 4 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.4224, allocations: 0 / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.4224, allocations: 4.031 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.4224, allocations: 7.875 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4224, allocations: 4 kB / 0.5653 GB, free: 280 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.4224, allocations: 79.28 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4224, allocations: 0 / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.4227, allocations: 51.86 kB / 0.5654 GB, free: 148 kB / 398.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005488/0.4233, allocations: 198.6 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.4234, allocations: 118.8 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4234, allocations: 0 / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.4235, allocations: 77.11 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.4236, allocations: 7.984 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.4239, allocations: 136.4 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.4239, allocations: 55.36 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.4239, allocations: 11.38 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4239, allocations: 0 / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Templates: time 0.004018/0.428, allocations: 1.499 MB / 0.5674 GB, free: 13.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.360603820066899]