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.001358/0.001358, allocations: 113.7 kB / 17.09 MB, free: 5.988 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.001672/0.001672, allocations: 195.4 kB / 18.02 MB, free: 5.066 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.487/1.487, allocations: 205.1 MB / 223.9 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.2126/0.2126, allocations: 43.53 MB / 314.8 MB, free: 456 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.001707/0.001707, allocations: 69.44 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1268, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00179/0.1287, allocations: 494.8 kB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.1296, allocations: 348.4 kB / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.1297, allocations: 4 kB / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.1297, allocations: 0 / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-06/0.1297, allocations: 0 / 0.4893 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1308, allocations: 191.5 kB / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.534e-05/0.1308, allocations: 4 kB / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.1309, allocations: 4 kB / 0.4895 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.36e-05/0.1309, allocations: 0 / 0.4895 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.252e-05/0.1309, allocations: 0 / 0.4895 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.1309, allocations: 0 / 0.4895 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.1313, allocations: 175.7 kB / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-06/0.1313, allocations: 0 / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1313, allocations: 3.938 kB / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1316, allocations: 139.8 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1316, allocations: 0 / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1316, allocations: 0 / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1317, allocations: 4 kB / 0.4898 GB, free: 10.48 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.0003809/0.132, allocations: 372.7 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1321, allocations: 15.89 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.1321, allocations: 4.844 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.1322, allocations: 160.4 kB / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1323, allocations: 384 / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1323, allocations: 384 / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.387e-05/0.1324, allocations: 30.27 kB / 0.4904 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1324, allocations: 4.188 kB / 0.4904 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1324, allocations: 7.922 kB / 0.4904 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1324, allocations: 3.938 kB / 0.4904 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.1324, allocations: 11.98 kB / 0.4904 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1326, allocations: 141.7 kB / 0.4906 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.1326, allocations: 18.52 kB / 0.4906 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.1327, allocations: 8.953 kB / 0.4906 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1327, allocations: 0 / 0.4906 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.1327, allocations: 64.27 kB / 0.4906 GB, free: 9.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.1328, allocations: 0 / 0.4906 GB, free: 9.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002011/0.133, allocations: 67.33 kB / 0.4907 GB, free: 9.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.133, allocations: 81.05 kB / 0.4908 GB, free: 9.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.304e-05/0.1331, allocations: 89.86 kB / 0.4909 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1331, allocations: 25.7 kB / 0.4909 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1331, allocations: 80.14 kB / 0.491 GB, free: 9.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.1332, allocations: 8.062 kB / 0.491 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1332, allocations: 21.7 kB / 0.491 GB, free: 9.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1333, allocations: 310.8 kB / 0.4913 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.1333, allocations: 4 kB / 0.4913 GB, free: 8.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-06/0.1334, allocations: 0 / 0.4913 GB, free: 8.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.1334, allocations: 64.2 kB / 0.4914 GB, free: 8.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1334, allocations: 0 / 0.4914 GB, free: 8.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.895e-05/0.1335, allocations: 67.39 kB / 0.4914 GB, free: 8.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.1336, allocations: 33.8 kB / 0.4915 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1336, allocations: 3.938 kB / 0.4915 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1336, allocations: 3.938 kB / 0.4915 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1336, allocations: 0 / 0.4915 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1336, allocations: 0 / 0.4915 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.1336, allocations: 8 kB / 0.4915 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1337, allocations: 0 / 0.4915 GB, free: 8.527 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 8.689e-05/0.1338, allocations: 135.5 kB / 0.4916 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.1338, allocations: 4 kB / 0.4916 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.1338, allocations: 11.11 kB / 0.4916 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1338, allocations: 3.938 kB / 0.4916 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1338, allocations: 0 / 0.4916 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.1339, allocations: 77.11 kB / 0.4917 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1339, allocations: 0 / 0.4917 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.1339, allocations: 0 / 0.4917 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.1339, allocations: 7.938 kB / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001378/0.1341, allocations: 194.1 kB / 0.4919 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001668/0.1342, allocations: 244.5 kB / 0.4921 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.11e-05/0.1343, allocations: 3.984 kB / 0.4921 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.1343, allocations: 75.28 kB / 0.4922 GB, free: 7.699 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.1343, allocations: 0 / 0.4922 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.1351, allocations: 210 kB / 0.4924 GB, free: 7.477 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003813/0.1355, allocations: 0.5872 MB / 0.493 GB, free: 6.828 MB / 382.1 MB Notification: Performance of Templates: time 0.004378/0.1399, allocations: 1.452 MB / 0.4944 GB, free: 5.375 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