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.001165/0.001165, allocations: 119.4 kB / 17.09 MB, free: 6.008 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.001102/0.001102, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.384/1.384, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2162/0.2162, allocations: 43.51 MB / 314.8 MB, free: 464 kB / 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.001818/0.001818, allocations: 71.88 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1357, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001901/0.1377, allocations: 0.498 MB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.1386, allocations: 340.4 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.1386, allocations: 0 / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1386, allocations: 3.938 kB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.1387, allocations: 0 / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.1396, allocations: 191.5 kB / 0.4895 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.1397, allocations: 7.984 kB / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1397, allocations: 3.984 kB / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.316e-05/0.1397, allocations: 0 / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.976e-05/0.1398, allocations: 0 / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-06/0.1398, allocations: 4 kB / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.1401, allocations: 163.7 kB / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.1401, allocations: 0 / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1402, allocations: 11.92 kB / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1404, allocations: 131.8 kB / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1404, allocations: 0 / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1405, allocations: 4 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1405, allocations: 0 / 0.4898 GB, free: 10.49 MB / 382.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.0004401/0.1409, allocations: 373.2 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.141, allocations: 11.89 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.141, allocations: 4.844 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1411, allocations: 164.4 kB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1412, allocations: 4.375 kB / 0.4904 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1412, allocations: 384 / 0.4904 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1413, allocations: 26.27 kB / 0.4904 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1413, allocations: 8.188 kB / 0.4904 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1413, allocations: 7.922 kB / 0.4904 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1413, allocations: 3.938 kB / 0.4904 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.1414, allocations: 0 / 0.4904 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.1415, allocations: 149.7 kB / 0.4905 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.1416, allocations: 22.55 kB / 0.4906 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.1416, allocations: 4.859 kB / 0.4906 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1417, allocations: 4 kB / 0.4906 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/0.1417, allocations: 60.33 kB / 0.4906 GB, free: 9.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1417, allocations: 0 / 0.4906 GB, free: 9.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002164/0.142, allocations: 75.31 kB / 0.4907 GB, free: 9.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.142, allocations: 81.05 kB / 0.4908 GB, free: 9.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.1421, allocations: 89.86 kB / 0.4909 GB, free: 9.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1421, allocations: 25.7 kB / 0.4909 GB, free: 9.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.1421, allocations: 80.14 kB / 0.491 GB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.1422, allocations: 8.062 kB / 0.491 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1422, allocations: 13.72 kB / 0.491 GB, free: 9.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1424, allocations: 310.8 kB / 0.4913 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.1424, allocations: 3.938 kB / 0.4913 GB, free: 8.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.1424, allocations: 4 kB / 0.4913 GB, free: 8.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.1425, allocations: 64.25 kB / 0.4914 GB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1425, allocations: 0 / 0.4914 GB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.397e-05/0.1426, allocations: 63.47 kB / 0.4914 GB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.1427, allocations: 37.64 kB / 0.4915 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1427, allocations: 0 / 0.4915 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1427, allocations: 3.938 kB / 0.4915 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.1427, allocations: 3.984 kB / 0.4915 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1427, allocations: 0 / 0.4915 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.1427, allocations: 4 kB / 0.4915 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1428, allocations: 0 / 0.4915 GB, free: 8.539 MB / 382.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 0.0001001/0.1429, allocations: 143.5 kB / 0.4916 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.1429, allocations: 4.031 kB / 0.4916 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.1429, allocations: 7.062 kB / 0.4916 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1429, allocations: 0 / 0.4916 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1429, allocations: 0 / 0.4916 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1429, allocations: 4 kB / 0.4916 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1431, allocations: 145.7 kB / 0.4918 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1431, allocations: 0 / 0.4918 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-07/0.1431, allocations: 3.938 kB / 0.4918 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1431, allocations: 0 / 0.4918 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1431, allocations: 3.938 kB / 0.4918 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1431, allocations: 4 kB / 0.4918 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1431, allocations: 4 kB / 0.4918 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1432, allocations: 90.77 kB / 0.4919 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1433, allocations: 81.11 kB / 0.4919 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1433, allocations: 3.938 kB / 0.4919 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.1433, allocations: 0 / 0.4919 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.1434, allocations: 0 / 0.4919 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.1434, allocations: 0 / 0.4919 GB, free: 7.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.1434, allocations: 83.31 kB / 0.492 GB, free: 7.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1434, allocations: 0 / 0.492 GB, free: 7.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1438, allocations: 47.98 kB / 0.4921 GB, free: 7.812 MB / 382.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.0005204/0.1443, allocations: 177 kB / 0.4922 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1444, allocations: 59.39 kB / 0.4923 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.1445, allocations: 4 kB / 0.4923 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.1445, allocations: 59.47 kB / 0.4923 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1446, allocations: 4 kB / 0.4924 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.1449, allocations: 114.6 kB / 0.4925 GB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1452, allocations: 0.6729 MB / 0.4931 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.1453, allocations: 11.44 kB / 0.4931 GB, free: 6.629 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1453, allocations: 0 / 0.4931 GB, free: 6.629 MB / 382.1 MB Notification: Performance of Templates: time 0.003901/0.1492, allocations: 1.436 MB / 0.4945 GB, free: 5.191 MB / 382.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/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) Reference file matches