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.001606/0.001606, allocations: 110.7 kB / 16.41 MB, free: 6.48 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.001968/0.001969, allocations: 190.1 kB / 17.34 MB, free: 5.766 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.625/1.625, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2328/0.2328, allocations: 43.53 MB / 314.1 MB, free: 468 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.001669/0.001669, allocations: 67.91 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1371, allocations: 57.78 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002154/0.1394, allocations: 0.4988 MB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.1403, allocations: 338.7 kB / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.1404, allocations: 0 / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.1404, allocations: 0 / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.1404, allocations: 0 / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.1413, allocations: 191.6 kB / 0.4889 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.1414, allocations: 4 kB / 0.4889 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.1415, allocations: 3.984 kB / 0.4889 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.1415, allocations: 7.984 kB / 0.4889 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.949e-05/0.1415, allocations: 0 / 0.4889 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-06/0.1415, allocations: 0 / 0.4889 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.1418, allocations: 163.7 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.1419, allocations: 4 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1419, allocations: 3.938 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.1422, allocations: 143.7 kB / 0.4892 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1422, allocations: 8 kB / 0.4892 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1422, allocations: 0 / 0.4892 GB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1422, allocations: 0 / 0.4892 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.0004686/0.1427, allocations: 365.3 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1427, allocations: 15.89 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1428, allocations: 4.844 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1429, allocations: 164.4 kB / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1429, allocations: 384 / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.143, allocations: 384 / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1431, allocations: 38.2 kB / 0.4897 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1431, allocations: 192 / 0.4897 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1431, allocations: 3.938 kB / 0.4897 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1431, allocations: 0 / 0.4897 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.1432, allocations: 3.938 kB / 0.4897 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.1433, allocations: 149.7 kB / 0.4899 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.1434, allocations: 18.58 kB / 0.4899 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.1434, allocations: 4.859 kB / 0.4899 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1434, allocations: 8.094 kB / 0.4899 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.1435, allocations: 60.2 kB / 0.49 GB, free: 9.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.1435, allocations: 0 / 0.49 GB, free: 9.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002289/0.1437, allocations: 67.33 kB / 0.49 GB, free: 9.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.1438, allocations: 77.11 kB / 0.4901 GB, free: 9.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.1439, allocations: 93.86 kB / 0.4902 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1439, allocations: 25.7 kB / 0.4902 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.1439, allocations: 84.27 kB / 0.4903 GB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.144, allocations: 7.938 kB / 0.4903 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.144, allocations: 9.719 kB / 0.4903 GB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1442, allocations: 310.8 kB / 0.4906 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.1442, allocations: 0 / 0.4906 GB, free: 8.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/0.1442, allocations: 11.94 kB / 0.4906 GB, free: 8.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/0.1443, allocations: 68.25 kB / 0.4907 GB, free: 8.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1443, allocations: 0 / 0.4907 GB, free: 8.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.656e-05/0.1444, allocations: 59.47 kB / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.1444, allocations: 33.7 kB / 0.4908 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1444, allocations: 0 / 0.4908 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.1445, allocations: 7.922 kB / 0.4908 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-06/0.1445, allocations: 3.984 kB / 0.4908 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1445, allocations: 0 / 0.4908 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.1445, allocations: 0 / 0.4908 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1446, allocations: 4 kB / 0.4908 GB, free: 8.547 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.0001168/0.1447, allocations: 139.5 kB / 0.4909 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1447, allocations: 3.938 kB / 0.4909 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.1447, allocations: 11.06 kB / 0.4909 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1447, allocations: 0 / 0.4909 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1447, allocations: 3.938 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1448, allocations: 0 / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1449, allocations: 153.7 kB / 0.4911 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1449, allocations: 0 / 0.4911 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-06/0.1449, allocations: 0 / 0.4911 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1449, allocations: 7.938 kB / 0.4911 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1449, allocations: 3.938 kB / 0.4911 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.145, allocations: 4 kB / 0.4911 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.145, allocations: 3.984 kB / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1451, allocations: 90.83 kB / 0.4912 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.1452, allocations: 77.11 kB / 0.4913 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1452, allocations: 3.938 kB / 0.4913 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.1452, allocations: 0 / 0.4913 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.1453, allocations: 0 / 0.4913 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1453, allocations: 8.031 kB / 0.4913 GB, free: 7.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.1453, allocations: 75.28 kB / 0.4914 GB, free: 7.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1453, allocations: 0 / 0.4914 GB, free: 7.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003497/0.1457, allocations: 47.98 kB / 0.4914 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.0004279/0.1461, allocations: 177.4 kB / 0.4916 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1462, allocations: 59.39 kB / 0.4916 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1462, allocations: 4.062 kB / 0.4916 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.1463, allocations: 55.41 kB / 0.4917 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1464, allocations: 7.938 kB / 0.4917 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.1467, allocations: 92.94 kB / 0.4918 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1469, allocations: 0.6729 MB / 0.4924 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.284e-06/0.147, allocations: 0 / 0.4924 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.147, allocations: 7.438 kB / 0.4925 GB, free: 6.66 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.147, allocations: 3.938 kB / 0.4925 GB, free: 6.656 MB / 382.1 MB Notification: Performance of Templates: time 0.004162/0.1512, allocations: 1.433 MB / 0.4939 GB, free: 5.223 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