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.001138/0.001138, allocations: 116.9 kB / 17.08 MB, free: 5.984 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.001334/0.001334, allocations: 198.9 kB / 18.01 MB, free: 5.07 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.451/1.451, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.2203/0.2203, allocations: 43.52 MB / 314.8 MB, free: 460 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.00147/0.00147, allocations: 61.47 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1427, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002098/0.1449, allocations: 0.4902 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009093/0.1458, allocations: 348.4 kB / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.1459, allocations: 0 / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.1459, allocations: 0 / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.114e-06/0.146, allocations: 0 / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.147, allocations: 191.5 kB / 0.4895 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.147, allocations: 3.984 kB / 0.4895 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.1471, allocations: 7.938 kB / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.1471, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.678e-05/0.1471, allocations: 3.984 kB / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.1471, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.1475, allocations: 167.7 kB / 0.4897 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1475, allocations: 3.984 kB / 0.4897 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.1476, allocations: 7.922 kB / 0.4897 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.1479, allocations: 131.8 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1479, allocations: 4 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1479, allocations: 4 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1479, allocations: 0 / 0.4898 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.0004573/0.1484, allocations: 361.3 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1484, allocations: 15.89 kB / 0.4902 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1485, allocations: 4.844 kB / 0.4902 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1486, allocations: 164.4 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1486, allocations: 4.312 kB / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1486, allocations: 384 / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1488, allocations: 34.27 kB / 0.4904 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1488, allocations: 4.188 kB / 0.4904 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1488, allocations: 3.938 kB / 0.4904 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1488, allocations: 0 / 0.4904 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.1488, allocations: 7.938 kB / 0.4904 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.149, allocations: 145.7 kB / 0.4905 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.149, allocations: 18.61 kB / 0.4906 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.1491, allocations: 8.859 kB / 0.4906 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.1491, allocations: 4 kB / 0.4906 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.1491, allocations: 60.27 kB / 0.4906 GB, free: 9.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.1492, allocations: 0 / 0.4906 GB, free: 9.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002093/0.1494, allocations: 71.31 kB / 0.4907 GB, free: 9.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1494, allocations: 77.11 kB / 0.4908 GB, free: 9.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.114e-05/0.1495, allocations: 89.86 kB / 0.4909 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1495, allocations: 29.7 kB / 0.4909 GB, free: 9.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.1495, allocations: 80.14 kB / 0.491 GB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1496, allocations: 8.062 kB / 0.491 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1496, allocations: 13.72 kB / 0.491 GB, free: 9.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1497, allocations: 314.8 kB / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.1497, allocations: 3.938 kB / 0.4913 GB, free: 8.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.1498, allocations: 0 / 0.4913 GB, free: 8.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.58e-05/0.1498, allocations: 68.19 kB / 0.4914 GB, free: 8.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1498, allocations: 0 / 0.4914 GB, free: 8.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.157e-05/0.1499, allocations: 67.47 kB / 0.4914 GB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.15, allocations: 29.7 kB / 0.4914 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.15, allocations: 0 / 0.4914 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.15, allocations: 3.938 kB / 0.4915 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.15, allocations: 0 / 0.4915 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.15, allocations: 8 kB / 0.4915 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.15, allocations: 3.984 kB / 0.4915 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1501, allocations: 0 / 0.4915 GB, free: 8.512 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.803e-05/0.1501, allocations: 139.4 kB / 0.4916 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.1502, allocations: 8.031 kB / 0.4916 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.1502, allocations: 7.062 kB / 0.4916 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1502, allocations: 0 / 0.4916 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1502, allocations: 0 / 0.4916 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1502, allocations: 0 / 0.4916 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1503, allocations: 149.7 kB / 0.4918 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1503, allocations: 0 / 0.4918 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-06/0.1503, allocations: 0 / 0.4918 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1503, allocations: 3.938 kB / 0.4918 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1504, allocations: 7.938 kB / 0.4918 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1504, allocations: 0 / 0.4918 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1504, allocations: 4 kB / 0.4918 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1505, allocations: 90.83 kB / 0.4919 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.1505, allocations: 77.11 kB / 0.4919 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1505, allocations: 3.938 kB / 0.4919 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.1506, allocations: 4 kB / 0.4919 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.1506, allocations: 0 / 0.4919 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1506, allocations: 3.938 kB / 0.4919 GB, free: 7.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.867e-05/0.1506, allocations: 79.31 kB / 0.492 GB, free: 7.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1506, allocations: 0 / 0.492 GB, free: 7.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.151, allocations: 51.98 kB / 0.4921 GB, free: 7.781 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.0004139/0.1514, allocations: 180.2 kB / 0.4922 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.1515, allocations: 63.41 kB / 0.4923 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1515, allocations: 4 kB / 0.4923 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.1516, allocations: 59.45 kB / 0.4924 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1517, allocations: 4 kB / 0.4924 GB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.1519, allocations: 114.6 kB / 0.4925 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1522, allocations: 0.669 MB / 0.4931 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.1522, allocations: 11.44 kB / 0.4931 GB, free: 6.594 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1522, allocations: 0 / 0.4931 GB, free: 6.594 MB / 382.1 MB Notification: Performance of Templates: time 0.003612/0.1558, allocations: 1.436 MB / 0.4945 GB, free: 5.156 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