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.00114/0.00114, allocations: 109.5 kB / 17.02 MB, free: 5.707 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.001074/0.001075, allocations: 194 kB / 17.96 MB, free: 5.113 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.393/1.393, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2335/0.2335, allocations: 43.53 MB / 314.7 MB, free: 484 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.001725/0.001725, allocations: 72.17 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1309, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002201/0.1331, allocations: 497.1 kB / 442.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.134, allocations: 350.2 kB / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.134, allocations: 0 / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.1341, allocations: 0 / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.1341, allocations: 0 / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1352, allocations: 187.5 kB / 443 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.1352, allocations: 3.938 kB / 443 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1353, allocations: 0 / 443 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.1353, allocations: 4 kB / 443 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.1354, allocations: 7.984 kB / 443 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1354, allocations: 0 / 443 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.1358, allocations: 167.7 kB / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1358, allocations: 0 / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1358, allocations: 4 kB / 443.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.1362, allocations: 139.7 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1362, allocations: 3.984 kB / 443.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1362, allocations: 0 / 443.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1362, allocations: 4 kB / 443.3 MB, free: 4.82 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.0004071/0.1366, allocations: 369.2 kB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1367, allocations: 11.89 kB / 443.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1367, allocations: 4.938 kB / 443.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.82e-05/0.1368, allocations: 160.4 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.1368, allocations: 4.312 kB / 443.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1368, allocations: 384 / 443.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.807e-05/0.1369, allocations: 34.27 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1369, allocations: 192 / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.137, allocations: 3.938 kB / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.137, allocations: 4 kB / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.137, allocations: 3.984 kB / 443.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.1371, allocations: 145.7 kB / 444 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.1372, allocations: 18.52 kB / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.1372, allocations: 7.156 kB / 444 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1372, allocations: 0 / 444 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.1373, allocations: 68.33 kB / 444.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/0.1373, allocations: 7.938 kB / 444.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001912/0.1375, allocations: 71.27 kB / 444.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1375, allocations: 77.11 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.69e-05/0.1375, allocations: 89.86 kB / 444.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.1376, allocations: 25.7 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.394e-05/0.1376, allocations: 80.14 kB / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1376, allocations: 0 / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.1376, allocations: 17.72 kB / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.1377, allocations: 322.9 kB / 444.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.1377, allocations: 0 / 444.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.1377, allocations: 4 kB / 444.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.1378, allocations: 56.27 kB / 444.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1378, allocations: 4 kB / 444.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.243e-05/0.1379, allocations: 59.41 kB / 444.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.1379, allocations: 37.69 kB / 444.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1379, allocations: 0 / 444.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.1379, allocations: 8.031 kB / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.138, allocations: 0 / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.138, allocations: 0 / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.138, allocations: 0 / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.138, allocations: 3.938 kB / 445 MB, free: 2.883 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 7.435e-05/0.1381, allocations: 140.6 kB / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.1381, allocations: 0 / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.1381, allocations: 7.062 kB / 445.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1381, allocations: 3.984 kB / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1381, allocations: 11.98 kB / 445.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1382, allocations: 0 / 445.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.774e-05/0.1382, allocations: 149.6 kB / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1382, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.1382, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1382, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1383, allocations: 7.938 kB / 445.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1383, allocations: 0 / 445.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1383, allocations: 0 / 445.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.1384, allocations: 98.81 kB / 445.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.1384, allocations: 77.11 kB / 445.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1384, allocations: 3.938 kB / 445.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.1385, allocations: 7.922 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.1385, allocations: 3.938 kB / 445.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1385, allocations: 4 kB / 445.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.52e-05/0.1385, allocations: 75.28 kB / 445.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1385, allocations: 0 / 445.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000344/0.1389, allocations: 47.94 kB / 445.6 MB, free: 2.148 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.0004175/0.1393, allocations: 179.3 kB / 445.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1394, allocations: 63.39 kB / 445.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1394, allocations: 0 / 445.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.1395, allocations: 55.41 kB / 445.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.1396, allocations: 6.812 kB / 445.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.1398, allocations: 77.2 kB / 446 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.14, allocations: 0.6806 MB / 446.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.334e-06/0.14, allocations: 0 / 446.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.14, allocations: 7.438 kB / 446.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.14, allocations: 3.938 kB / 446.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of Templates: time 0.004332/0.1443, allocations: 1.421 MB / 448.1 MB, free: 15.59 MB / 334.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 -s cvode -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