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.001181/0.001181, allocations: 95.2 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.001582/0.001582, 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 1.049/1.049, 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.1453/0.1453, 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.853e-06/1.853e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.31e-05, allocations: 13.34 kB / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001517/0.00155, allocations: 0.5158 MB / 348.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005345/0.002085, allocations: 355.7 kB / 348.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.002102, allocations: 0 / 348.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.00212, allocations: 4 kB / 348.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.042e-06/0.002126, allocations: 0 / 348.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.002778, allocations: 199.4 kB / 348.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.002822, allocations: 7.984 kB / 348.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.745e-05/0.00285, allocations: 0 / 348.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.002871, allocations: 0 / 348.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.582e-05/0.002887, allocations: 0 / 348.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.002894, allocations: 0 / 348.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.003102, allocations: 203.6 kB / 348.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.003109, allocations: 0 / 348.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.003126, allocations: 3.984 kB / 348.9 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.003289, allocations: 187.4 kB / 349.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003291, allocations: 0 / 349.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.003292, allocations: 0 / 349.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003296, allocations: 0 / 349.1 MB, free: 8.012 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.0001967/0.003493, allocations: 389.9 kB / 349.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.003524, allocations: 8.031 kB / 349.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.003555, allocations: 4.938 kB / 349.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 2.833e-05/0.003583, allocations: 104.6 kB / 349.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.003592, allocations: 384 / 349.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.0036, allocations: 384 / 349.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.675e-05/0.003667, allocations: 67.95 kB / 349.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003673, allocations: 192 / 349.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.00368, allocations: 384 / 349.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003686, allocations: 384 / 349.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.267e-05/0.003699, allocations: 37.58 kB / 349.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.689e-05/0.003755, allocations: 108.6 kB / 349.8 MB, free: 7.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.071e-05/0.003786, allocations: 52.8 kB / 349.9 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.003799, allocations: 33.39 kB / 349.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.003803, allocations: 3.984 kB / 349.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.003825, allocations: 67.16 kB / 350 MB, free: 6.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.003826, allocations: 4 kB / 350 MB, free: 6.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.003957, allocations: 114.8 kB / 350.1 MB, free: 6.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.003978, allocations: 81.09 kB / 350.2 MB, free: 6.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.679e-05/0.003995, allocations: 146.2 kB / 350.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-06/0.003999, allocations: 29.7 kB / 350.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-06/0.004008, allocations: 126.9 kB / 350.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.004022, allocations: 3.938 kB / 350.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.004041, allocations: 23.38 kB / 350.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.004076, allocations: 0.4883 MB / 351 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.004086, allocations: 25.7 kB / 351 MB, free: 5.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.004093, allocations: 29.83 kB / 351 MB, free: 5.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.004119, allocations: 67.08 kB / 351.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004121, allocations: 0 / 351.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.397e-05/0.004155, allocations: 93.39 kB / 351.2 MB, free: 5.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.004174, allocations: 33.7 kB / 351.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004178, allocations: 0 / 351.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.00419, allocations: 0 / 351.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-06/0.004192, allocations: 0 / 351.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.004197, allocations: 3.984 kB / 351.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-06/0.004206, allocations: 3.938 kB / 351.2 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.004212, allocations: 8.094 kB / 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 3.37e-05/0.004245, allocations: 178.3 kB / 351.4 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-06/0.00425, allocations: 7.953 kB / 351.4 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-06/0.00426, allocations: 3 kB / 351.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.004261, allocations: 0 / 351.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.004264, allocations: 4 kB / 351.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.004266, allocations: 0 / 351.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.051e-05/0.004297, allocations: 116.6 kB / 351.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.004298, allocations: 4 kB / 351.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-07/0.004298, allocations: 0 / 351.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.004298, allocations: 4 kB / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.004303, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.004304, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004304, allocations: 0 / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.84e-05/0.004353, allocations: 131.8 kB / 351.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-06/0.004357, allocations: 8 kB / 351.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.004368, allocations: 0 / 351.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-06/0.004372, allocations: 0 / 351.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.004384, allocations: 0 / 351.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.004385, allocations: 7.938 kB / 351.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.2e-05/0.004397, allocations: 123.2 kB / 351.8 MB, free: 4.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004397, allocations: 4 kB / 351.8 MB, free: 4.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.004573, allocations: 43.92 kB / 351.9 MB, free: 4.867 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.0002723/0.004845, allocations: 195.3 kB / 352 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.004914, allocations: 130.4 kB / 352.2 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004915, allocations: 0 / 352.2 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.004928, allocations: 88.8 kB / 352.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.318e-05/0.005011, allocations: 4.125 kB / 352.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000137/0.005148, allocations: 117.6 kB / 352.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.686e-05/0.005165, allocations: 51.36 kB / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.448e-06/0.005169, allocations: 4 kB / 352.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.083e-05/0.00518, allocations: 8.5 kB / 352.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005181, allocations: 0 / 352.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of Templates: time 0.002443/0.007623, allocations: 1.485 MB / 353.9 MB, free: 2.691 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.1949661439284682]