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.001144/0.001144, allocations: 106.9 kB / 16.41 MB, free: 6.402 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.00103/0.00103, allocations: 192.4 kB / 17.34 MB, free: 5.691 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2166/0.2166, allocations: 43.52 MB / 314.1 MB, free: 448 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.002782/0.002782, allocations: 69.47 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1442, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001853/0.1461, allocations: 498.8 kB / 0.4884 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.1471, allocations: 346.7 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1472, allocations: 4 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.1472, allocations: 0 / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.05e-05/0.1473, allocations: 0 / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.1482, allocations: 191.5 kB / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.509e-05/0.1482, allocations: 0 / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.1483, allocations: 4 kB / 0.4889 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.1483, allocations: 0 / 0.4889 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.1483, allocations: 0 / 0.4889 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-06/0.1483, allocations: 0 / 0.4889 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.1487, allocations: 175.7 kB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-06/0.1487, allocations: 0 / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.1487, allocations: 3.938 kB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.149, allocations: 143.6 kB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.149, allocations: 0 / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.149, allocations: 4 kB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.149, allocations: 0 / 0.4892 GB, free: 10.46 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.0004011/0.1494, allocations: 369 kB / 0.4895 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1494, allocations: 15.89 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1495, allocations: 0.9375 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1496, allocations: 160.4 kB / 0.4897 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1496, allocations: 384 / 0.4897 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.1496, allocations: 384 / 0.4897 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.616e-05/0.1497, allocations: 34.25 kB / 0.4897 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1497, allocations: 4.188 kB / 0.4897 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1498, allocations: 3.938 kB / 0.4897 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1498, allocations: 3.938 kB / 0.4897 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.1498, allocations: 7.938 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.15, allocations: 149.7 kB / 0.4899 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.15, allocations: 14.58 kB / 0.4899 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.15, allocations: 8.953 kB / 0.4899 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.15, allocations: 0 / 0.4899 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.1501, allocations: 64.25 kB / 0.49 GB, free: 9.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1501, allocations: 0 / 0.49 GB, free: 9.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001855/0.1503, allocations: 71.28 kB / 0.4901 GB, free: 9.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1504, allocations: 77.11 kB / 0.4901 GB, free: 9.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.854e-05/0.1504, allocations: 89.86 kB / 0.4902 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1504, allocations: 29.7 kB / 0.4902 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.1505, allocations: 80.14 kB / 0.4903 GB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1505, allocations: 4.125 kB / 0.4903 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1505, allocations: 13.7 kB / 0.4903 GB, free: 9.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1507, allocations: 318.8 kB / 0.4906 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.1507, allocations: 0 / 0.4906 GB, free: 8.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.1507, allocations: 0 / 0.4906 GB, free: 8.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.1508, allocations: 64.2 kB / 0.4907 GB, free: 8.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1508, allocations: 0 / 0.4907 GB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.648e-05/0.1508, allocations: 67.33 kB / 0.4908 GB, free: 8.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.1509, allocations: 33.8 kB / 0.4908 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1509, allocations: 0 / 0.4908 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1509, allocations: 3.938 kB / 0.4908 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1509, allocations: 0 / 0.4908 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1509, allocations: 7.984 kB / 0.4908 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.1509, allocations: 0 / 0.4908 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.151, allocations: 4 kB / 0.4908 GB, free: 8.52 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 7.667e-05/0.151, allocations: 135.5 kB / 0.4909 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.1511, allocations: 7.984 kB / 0.4909 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.405e-05/0.1511, allocations: 11.06 kB / 0.491 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1511, allocations: 0 / 0.491 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1511, allocations: 0 / 0.491 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1511, allocations: 0 / 0.491 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.1512, allocations: 149.7 kB / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1512, allocations: 0 / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-06/0.1512, allocations: 0 / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1512, allocations: 7.922 kB / 0.4911 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1512, allocations: 3.938 kB / 0.4911 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1513, allocations: 0 / 0.4911 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1513, allocations: 3.938 kB / 0.4911 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.1514, allocations: 90.84 kB / 0.4912 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1514, allocations: 81.09 kB / 0.4913 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1514, allocations: 3.938 kB / 0.4913 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.1514, allocations: 4 kB / 0.4913 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1515, allocations: 0 / 0.4913 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1515, allocations: 4 kB / 0.4913 GB, free: 7.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.491e-05/0.1515, allocations: 79.31 kB / 0.4914 GB, free: 7.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 0 / 0.4914 GB, free: 7.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1518, allocations: 43.94 kB / 0.4914 GB, free: 7.793 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.0003724/0.1522, allocations: 185.4 kB / 0.4916 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1523, allocations: 63.34 kB / 0.4916 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1523, allocations: 7.938 kB / 0.4917 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.1523, allocations: 51.47 kB / 0.4917 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1525, allocations: 8.062 kB / 0.4917 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.1527, allocations: 92.83 kB / 0.4918 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1529, allocations: 0.669 MB / 0.4925 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.079e-06/0.153, allocations: 0 / 0.4925 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-06/0.153, allocations: 7.438 kB / 0.4925 GB, free: 6.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.153, allocations: 0 / 0.4925 GB, free: 6.633 MB / 382.1 MB Notification: Performance of Templates: time 0.004014/0.157, allocations: 1.433 MB / 0.4939 GB, free: 5.199 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches