Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001052/0.001052, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.00105/0.00105, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9367/0.9367, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1309/0.1309, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.256e-05, allocations: 4.281 kB / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009499/0.0009724, allocations: 0.5158 MB / 348.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.001523, allocations: 351.7 kB / 348.5 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.001546, allocations: 4 kB / 348.5 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.001562, allocations: 0 / 348.5 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.00157, allocations: 0 / 348.5 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.002233, allocations: 191.4 kB / 348.7 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.419e-05/0.002308, allocations: 15.92 kB / 348.7 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.002346, allocations: 0 / 348.7 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.002373, allocations: 0 / 348.7 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.002394, allocations: 0 / 348.7 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.002402, allocations: 4 kB / 348.7 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.002627, allocations: 203.5 kB / 348.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.00264, allocations: 0 / 348.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.002664, allocations: 7.984 kB / 348.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.002863, allocations: 175.5 kB / 349.1 MB, free: 8.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.002866, allocations: 0 / 349.1 MB, free: 8.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002867, allocations: 0 / 349.1 MB, free: 8.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002871, allocations: 0 / 349.1 MB, free: 8.348 MB / 282.7 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.0002576/0.003128, allocations: 389.9 kB / 349.5 MB, free: 7.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.003167, allocations: 8.031 kB / 349.5 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.003205, allocations: 4.938 kB / 349.5 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.025e-05/0.003245, allocations: 108.6 kB / 349.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.003256, allocations: 384 / 349.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.003265, allocations: 384 / 349.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.342e-05/0.003339, allocations: 63.95 kB / 349.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003345, allocations: 192 / 349.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.003353, allocations: 384 / 349.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.003363, allocations: 384 / 349.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.461e-05/0.003377, allocations: 33.64 kB / 349.7 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.878e-05/0.003446, allocations: 108.6 kB / 349.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.003483, allocations: 56.73 kB / 349.9 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.003501, allocations: 37.38 kB / 349.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.003506, allocations: 4.062 kB / 349.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.003533, allocations: 59.09 kB / 350 MB, free: 7.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.003534, allocations: 4 kB / 350 MB, free: 7.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000145/0.003679, allocations: 118.8 kB / 350.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.003703, allocations: 77.11 kB / 350.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.276e-05/0.003726, allocations: 146.2 kB / 350.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.003732, allocations: 29.64 kB / 350.3 MB, free: 6.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.192e-05/0.003744, allocations: 126.9 kB / 350.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.003759, allocations: 7.875 kB / 350.5 MB, free: 6.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.003779, allocations: 27.38 kB / 350.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.00382, allocations: 496.1 kB / 351 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.003831, allocations: 25.7 kB / 351 MB, free: 6.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.003839, allocations: 37.81 kB / 351 MB, free: 6.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.003871, allocations: 59.09 kB / 351.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.003873, allocations: 0 / 351.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.276e-05/0.003905, allocations: 89.45 kB / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.003929, allocations: 37.69 kB / 351.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.003935, allocations: 0 / 351.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.003948, allocations: 0 / 351.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.00395, allocations: 3.984 kB / 351.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.003954, allocations: 3.938 kB / 351.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-06/0.003964, allocations: 8.031 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.00397, allocations: 4 kB / 351.2 MB, free: 5.91 MB / 282.7 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 4.25e-05/0.004012, allocations: 178.3 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.004017, allocations: 7.953 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-06/0.004026, allocations: 3 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004027, allocations: 0 / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.00403, allocations: 0 / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.004033, allocations: 4 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.813e-05/0.004071, allocations: 116.6 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.004071, allocations: 0 / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.004072, allocations: 4 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.004073, allocations: 0 / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.00408, allocations: 0 / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.00408, allocations: 0 / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00408, allocations: 0 / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.613e-05/0.004137, allocations: 139.8 kB / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-06/0.004141, allocations: 0 / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.004154, allocations: 0 / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-06/0.004158, allocations: 0 / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.00417, allocations: 0 / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.004172, allocations: 8 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.494e-05/0.004187, allocations: 131.2 kB / 351.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004187, allocations: 0 / 351.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.004352, allocations: 47.92 kB / 351.9 MB, free: 5.195 MB / 282.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: 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.0002966/0.004648, allocations: 193.7 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.397e-05/0.004732, allocations: 126.5 kB / 352.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.004734, allocations: 0 / 352.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.00475, allocations: 88.86 kB / 352.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.366e-05/0.004844, allocations: 4.062 kB / 352.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.005006, allocations: 117.6 kB / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.364e-05/0.00503, allocations: 55.36 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.889e-06/0.005034, allocations: 0 / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.121e-05/0.005046, allocations: 8.5 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.005046, allocations: 0 / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Templates: time 0.002684/0.00773, allocations: 1.485 MB / 353.9 MB, free: 3.027 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9737439958844334]