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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 102.1 kB / 15.98 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 188.7 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.263/0.263, allocations: 43.52 MB / 313.6 MB, free: 0.6875 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 73.25 kB / 382.2 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1272, allocations: 57.79 MB / 440 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001751/0.129, allocations: 0.5506 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.1298, allocations: 348.5 kB / 440.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.1298, allocations: 0 / 440.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.1298, allocations: 0 / 440.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.1299, allocations: 3.938 kB / 440.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.1306, allocations: 171.7 kB / 441.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.1307, allocations: 4 kB / 441.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.1308, allocations: 0 / 441.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.1308, allocations: 0 / 441.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.1308, allocations: 8 kB / 441.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.158e-06/0.1308, allocations: 0 / 441.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.1311, allocations: 163.7 kB / 441.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.1311, allocations: 0 / 441.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.1312, allocations: 0 / 441.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1314, allocations: 151.6 kB / 441.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1314, allocations: 0 / 441.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1314, allocations: 0 / 441.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1315, allocations: 0 / 441.4 MB, free: 5.949 MB / 318.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.0003428/0.1318, allocations: 369.2 kB / 441.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1319, allocations: 15.89 kB / 441.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.1319, allocations: 0.9375 kB / 441.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.806e-05/0.132, allocations: 164.4 kB / 441.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.132, allocations: 384 / 441.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.132, allocations: 4.375 kB / 441.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.1321, allocations: 30.2 kB / 442 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1321, allocations: 192 / 442 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1321, allocations: 3.938 kB / 442 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1322, allocations: 4 kB / 442 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.1322, allocations: 4 kB / 442 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.1323, allocations: 149.7 kB / 442.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/0.1323, allocations: 18.61 kB / 442.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.1324, allocations: 4.859 kB / 442.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-06/0.1324, allocations: 3.938 kB / 442.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1324, allocations: 56.27 kB / 442.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.1324, allocations: 0 / 442.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001787/0.1326, allocations: 83.31 kB / 442.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1326, allocations: 81.11 kB / 442.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.167e-05/0.1327, allocations: 89.86 kB / 442.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1327, allocations: 25.7 kB / 442.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.1327, allocations: 80.14 kB / 442.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1327, allocations: 0 / 442.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.1328, allocations: 13.72 kB / 442.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.1328, allocations: 315 kB / 442.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.1328, allocations: 4 kB / 442.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.1329, allocations: 3.938 kB / 442.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.1329, allocations: 64.25 kB / 442.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1329, allocations: 3.938 kB / 442.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.916e-05/0.133, allocations: 59.41 kB / 443 MB, free: 4.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.133, allocations: 33.7 kB / 443 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.133, allocations: 0 / 443 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.133, allocations: 7.938 kB / 443 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.133, allocations: 4.094 kB / 443 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.133, allocations: 3.984 kB / 443 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.1331, allocations: 288 / 443 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1331, allocations: 0 / 443 MB, free: 4.008 MB / 318.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 5.314e-05/0.1331, allocations: 139.5 kB / 443.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.1331, allocations: 4 kB / 443.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.1332, allocations: 7.062 kB / 443.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1332, allocations: 3.938 kB / 443.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1332, allocations: 0 / 443.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1332, allocations: 4 kB / 443.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.641e-05/0.1332, allocations: 157.6 kB / 443.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1333, allocations: 0 / 443.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1333, allocations: 0 / 443.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1333, allocations: 0 / 443.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1333, allocations: 3.938 kB / 443.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1333, allocations: 0 / 443.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1333, allocations: 0 / 443.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.607e-05/0.1334, allocations: 94.83 kB / 443.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.1334, allocations: 77.11 kB / 443.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1334, allocations: 7.938 kB / 443.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.1334, allocations: 3.938 kB / 443.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1334, allocations: 4 kB / 443.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.1334, allocations: 0 / 443.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.162e-05/0.1335, allocations: 75.28 kB / 443.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1335, allocations: 0 / 443.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1337, allocations: 47.98 kB / 443.7 MB, free: 3.281 MB / 318.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.0003356/0.1341, allocations: 189.4 kB / 443.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.209e-05/0.1342, allocations: 67.34 kB / 443.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1342, allocations: 0 / 443.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.1342, allocations: 59.39 kB / 444 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1344, allocations: 0 / 444 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001652/0.1345, allocations: 81.14 kB / 444.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1346, allocations: 0.6728 MB / 444.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.894e-06/0.1347, allocations: 0 / 444.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.115e-05/0.1347, allocations: 11.44 kB / 444.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1347, allocations: 0 / 444.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of Templates: time 0.003594/0.1383, allocations: 1.436 MB / 446.2 MB, free: 0.6953 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches