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.00153/0.00153, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001861/0.001861, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9273/0.9273, allocations: 158.6 MB / 185.7 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.1435/0.1435, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.793e-06/1.793e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.753e-05, allocations: 6.25 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002582/0.002609, allocations: 0.5219 MB / 348.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.003269, allocations: 351.7 kB / 348.5 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.003285, allocations: 0 / 348.5 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.003304, allocations: 0 / 348.5 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.00331, allocations: 0 / 348.5 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.004012, allocations: 195.5 kB / 348.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.772e-05/0.00406, allocations: 7.938 kB / 348.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.826e-05/0.004088, allocations: 7.984 kB / 348.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.004112, allocations: 0 / 348.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.004131, allocations: 3.984 kB / 348.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-06/0.004138, allocations: 0 / 348.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.004413, allocations: 203.6 kB / 348.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-06/0.004421, allocations: 0 / 348.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.004438, allocations: 3.938 kB / 348.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.004651, allocations: 179.5 kB / 349.1 MB, free: 8.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004654, allocations: 0 / 349.1 MB, free: 8.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004655, allocations: 4 kB / 349.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004659, allocations: 0 / 349.1 MB, free: 8.004 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.0002581/0.004917, allocations: 389.9 kB / 349.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.004953, allocations: 12.02 kB / 349.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.00499, allocations: 4.938 kB / 349.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.913e-05/0.005029, allocations: 104.6 kB / 349.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.005039, allocations: 384 / 349.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.005047, allocations: 384 / 349.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/0.008143, allocations: 59.91 kB / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.008154, allocations: 192 / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.008168, allocations: 4.375 kB / 349.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.008177, allocations: 384 / 349.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.008214, allocations: 33.64 kB / 349.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.763e-05/0.008292, allocations: 112.6 kB / 349.8 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.008337, allocations: 52.8 kB / 349.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.008353, allocations: 33.39 kB / 349.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-06/0.008358, allocations: 3.984 kB / 349.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.008391, allocations: 67.09 kB / 350 MB, free: 6.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.008393, allocations: 0 / 350 MB, free: 6.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000157/0.00855, allocations: 118.9 kB / 350.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.008579, allocations: 81.11 kB / 350.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.353e-05/0.008602, allocations: 142.2 kB / 350.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.008609, allocations: 33.64 kB / 350.3 MB, free: 6.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/0.008623, allocations: 126.9 kB / 350.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.00864, allocations: 3.938 kB / 350.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.00867, allocations: 23.38 kB / 350.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.008725, allocations: 0.4922 MB / 351 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.008741, allocations: 25.7 kB / 351 MB, free: 5.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.008753, allocations: 29.64 kB / 351 MB, free: 5.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.008795, allocations: 67.16 kB / 351.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008797, allocations: 0 / 351.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.002e-05/0.008867, allocations: 93.44 kB / 351.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.008895, allocations: 33.7 kB / 351.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.0089, allocations: 0 / 351.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008912, allocations: 0 / 351.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-06/0.008917, allocations: 0 / 351.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008922, allocations: 0 / 351.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.008939, allocations: 3.938 kB / 351.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.008946, allocations: 0 / 351.2 MB, free: 5.578 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 5.25e-05/0.008998, allocations: 190.3 kB / 351.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.00901, allocations: 11.89 kB / 351.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.075e-05/0.009021, allocations: 3 kB / 351.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.009023, allocations: 0 / 351.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.009027, allocations: 0 / 351.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00903, allocations: 0 / 351.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.974e-05/0.00908, allocations: 112.6 kB / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009082, allocations: 4 kB / 351.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.009083, allocations: 0 / 351.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.009085, allocations: 0 / 351.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.009091, allocations: 0 / 351.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.009093, allocations: 7.984 kB / 351.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009095, allocations: 0 / 351.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.587e-05/0.009181, allocations: 127.8 kB / 351.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-06/0.009186, allocations: 7.984 kB / 351.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.009199, allocations: 0 / 351.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.009208, allocations: 0 / 351.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.00922, allocations: 0 / 351.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.009225, allocations: 8 kB / 351.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.206e-05/0.009237, allocations: 131.1 kB / 351.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009237, allocations: 0 / 351.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.009513, allocations: 39.94 kB / 351.9 MB, free: 4.859 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.0003719/0.009885, allocations: 203.8 kB / 352.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.448e-05/0.00998, allocations: 122.5 kB / 352.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.009982, allocations: 0 / 352.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.01, allocations: 92.78 kB / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.01013, allocations: 0 / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.01028, allocations: 109.7 kB / 352.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.864e-05/0.0103, allocations: 55.48 kB / 352.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.189e-06/0.0103, allocations: 4 kB / 352.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.01031, allocations: 8.5 kB / 352.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01032, allocations: 0 / 352.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of Templates: time 0.005202/0.01552, allocations: 1.737 MB / 354.2 MB, free: 2.438 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: 3.1675011259503663]