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.00184/0.00184, allocations: 79.11 kB / 20.52 MB, free: 1.281 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.002332/0.002332, allocations: 167.5 kB / 23.76 MB, free: 4.473 MB / 14.72 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 1.426/1.426, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] 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.2128/0.2128, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 67.91 kB / 407.7 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1329, allocations: 61.04 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001924/0.1349, allocations: 0.495 MB / 469.3 MB, free: 7.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.1357, allocations: 349.7 kB / 469.6 MB, free: 7.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.1358, allocations: 0 / 469.6 MB, free: 7.477 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.1358, allocations: 0 / 469.6 MB, free: 7.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.1358, allocations: 0 / 469.6 MB, free: 7.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008666/0.1366, allocations: 199.5 kB / 469.8 MB, free: 7.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.997e-05/0.1367, allocations: 8 kB / 469.8 MB, free: 7.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.1367, allocations: 7.984 kB / 469.8 MB, free: 7.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.1368, allocations: 3.938 kB / 469.8 MB, free: 7.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.406e-05/0.1368, allocations: 7.984 kB / 469.8 MB, free: 7.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-06/0.1368, allocations: 0 / 469.8 MB, free: 7.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.1372, allocations: 199.6 kB / 470 MB, free: 7.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.1372, allocations: 0 / 470 MB, free: 7.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.1372, allocations: 0 / 470 MB, free: 7.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.1375, allocations: 143.7 kB / 470.2 MB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1375, allocations: 0 / 470.2 MB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1375, allocations: 0 / 470.2 MB, free: 6.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1375, allocations: 4 kB / 470.2 MB, free: 6.914 MB / 446.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.0003869/0.1379, allocations: 295.9 kB / 470.5 MB, free: 6.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1379, allocations: 8.031 kB / 470.5 MB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.138, allocations: 8.938 kB / 470.5 MB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.1381, allocations: 106.5 kB / 470.6 MB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1381, allocations: 384 / 470.6 MB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1381, allocations: 384 / 470.6 MB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1382, allocations: 63.89 kB / 470.7 MB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1382, allocations: 192 / 470.7 MB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1382, allocations: 3.938 kB / 470.7 MB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1382, allocations: 0 / 470.7 MB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.1383, allocations: 33.7 kB / 470.7 MB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.1384, allocations: 97.33 kB / 470.8 MB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.1385, allocations: 44.31 kB / 470.8 MB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.1385, allocations: 34.55 kB / 470.9 MB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.1385, allocations: 0 / 470.9 MB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.1386, allocations: 64.27 kB / 470.9 MB, free: 6.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1386, allocations: 0 / 470.9 MB, free: 6.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002323/0.1388, allocations: 122.7 kB / 471 MB, free: 5.875 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.1389, allocations: 77.11 kB / 471.1 MB, free: 5.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.1389, allocations: 93.98 kB / 471.2 MB, free: 5.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1389, allocations: 25.7 kB / 471.2 MB, free: 5.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.139, allocations: 84.14 kB / 471.3 MB, free: 5.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.139, allocations: 0 / 471.3 MB, free: 5.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.139, allocations: 13.72 kB / 471.3 MB, free: 5.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1392, allocations: 314.8 kB / 471.6 MB, free: 5.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.1392, allocations: 25.7 kB / 471.7 MB, free: 5.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.1392, allocations: 25.7 kB / 471.7 MB, free: 5.164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.1393, allocations: 68.19 kB / 471.8 MB, free: 5.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1393, allocations: 0 / 471.8 MB, free: 5.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.946e-05/0.1394, allocations: 93.17 kB / 471.9 MB, free: 4.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.1394, allocations: 29.7 kB / 471.9 MB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1394, allocations: 4 kB / 471.9 MB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1395, allocations: 3.984 kB / 471.9 MB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-06/0.1395, allocations: 7.875 kB / 471.9 MB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1395, allocations: 0 / 471.9 MB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.1395, allocations: 3.938 kB / 471.9 MB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1395, allocations: 0 / 471.9 MB, free: 4.918 MB / 446.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 9.941e-05/0.1396, allocations: 135.5 kB / 472 MB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.1396, allocations: 0 / 472 MB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.143e-05/0.1396, allocations: 7.031 kB / 472 MB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1396, allocations: 3.938 kB / 472 MB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1396, allocations: 4 kB / 472 MB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1396, allocations: 0 / 472 MB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.1397, allocations: 101.3 kB / 472.1 MB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1397, allocations: 3.938 kB / 472.1 MB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1397, allocations: 3.938 kB / 472.2 MB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1397, allocations: 0 / 472.2 MB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1397, allocations: 4 kB / 472.2 MB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1397, allocations: 3.984 kB / 472.2 MB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1397, allocations: 3.938 kB / 472.2 MB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.1399, allocations: 128.5 kB / 472.3 MB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.1399, allocations: 0 / 472.3 MB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1399, allocations: 0 / 472.3 MB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.1399, allocations: 4 kB / 472.3 MB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.1399, allocations: 3.938 kB / 472.3 MB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1399, allocations: 0 / 472.3 MB, free: 4.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.14, allocations: 75.28 kB / 472.4 MB, free: 4.367 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.14, allocations: 0 / 472.4 MB, free: 4.367 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1403, allocations: 51.92 kB / 472.4 MB, free: 4.316 MB / 446.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.0004249/0.1407, allocations: 183 kB / 472.6 MB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.1408, allocations: 122.7 kB / 472.7 MB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1408, allocations: 0 / 472.7 MB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.167e-05/0.1409, allocations: 81.11 kB / 472.8 MB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.141, allocations: 0 / 472.8 MB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.1413, allocations: 110.5 kB / 472.9 MB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.533e-05/0.1413, allocations: 59.34 kB / 473 MB, free: 3.668 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.783e-06/0.1413, allocations: 4.125 kB / 473 MB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.1413, allocations: 8.5 kB / 473 MB, free: 3.656 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1413, allocations: 0 / 473 MB, free: 3.656 MB / 446.1 MB Notification: Performance of Templates: time 0.004519/0.1459, allocations: 1.429 MB / 474.4 MB, free: 2.223 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.977347047999501]