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.001372/0.001372, allocations: 110.3 kB / 17.09 MB, free: 5.961 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.001251/0.001251, allocations: 196.2 kB / 18.02 MB, free: 5.047 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.448/1.448, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2148/0.2148, allocations: 43.53 MB / 314.8 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.001851/0.001851, allocations: 69.92 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002096/0.12, allocations: 0.4903 MB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.1209, allocations: 340.4 kB / 0.4893 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.1209, allocations: 0 / 0.4893 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.121, allocations: 0 / 0.4893 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.121, allocations: 0 / 0.4893 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008817/0.1219, allocations: 195.5 kB / 0.4895 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.122, allocations: 11.98 kB / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.155e-05/0.122, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.137e-05/0.122, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.122, allocations: 4 kB / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.1221, allocations: 0 / 0.4895 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.1224, allocations: 163.7 kB / 0.4897 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-06/0.1224, allocations: 3.984 kB / 0.4897 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1224, allocations: 7.938 kB / 0.4897 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1227, allocations: 139.7 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1227, allocations: 0 / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1227, allocations: 4 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1227, 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.0004288/0.1231, allocations: 369.3 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1232, allocations: 11.89 kB / 0.4902 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.1232, allocations: 4.844 kB / 0.4902 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.1233, allocations: 160.4 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1233, allocations: 4.375 kB / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1234, allocations: 384 / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.1234, allocations: 30.27 kB / 0.4904 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1235, allocations: 192 / 0.4904 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1235, allocations: 7.938 kB / 0.4904 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1235, allocations: 0 / 0.4904 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.1235, allocations: 7.922 kB / 0.4904 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1237, allocations: 145.6 kB / 0.4905 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.738e-05/0.1237, allocations: 22.61 kB / 0.4906 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.1237, allocations: 4.859 kB / 0.4906 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.1238, allocations: 4 kB / 0.4906 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/0.1238, allocations: 60.33 kB / 0.4906 GB, free: 9.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1238, allocations: 0 / 0.4906 GB, free: 9.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.124, allocations: 71.25 kB / 0.4907 GB, free: 9.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1241, allocations: 85.11 kB / 0.4908 GB, free: 9.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.1241, allocations: 89.86 kB / 0.4909 GB, free: 9.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1241, allocations: 25.7 kB / 0.4909 GB, free: 9.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.1242, allocations: 80.27 kB / 0.491 GB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1242, allocations: 7.938 kB / 0.491 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1242, allocations: 13.72 kB / 0.491 GB, free: 9.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1244, allocations: 314.8 kB / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.1244, allocations: 0 / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.1244, allocations: 0 / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.1244, allocations: 68.2 kB / 0.4914 GB, free: 8.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1244, allocations: 0 / 0.4914 GB, free: 8.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.37e-05/0.1245, allocations: 71.39 kB / 0.4914 GB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.1246, allocations: 33.69 kB / 0.4915 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1246, allocations: 0 / 0.4915 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1246, allocations: 7.938 kB / 0.4915 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1246, allocations: 0 / 0.4915 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1246, allocations: 0 / 0.4915 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.1246, allocations: 0 / 0.4915 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1246, allocations: 0 / 0.4915 GB, free: 8.516 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.329e-05/0.1247, allocations: 139.5 kB / 0.4916 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1248, allocations: 8.031 kB / 0.4916 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.1248, allocations: 7.125 kB / 0.4916 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1248, allocations: 7.922 kB / 0.4916 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1248, allocations: 0 / 0.4916 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1248, allocations: 77.11 kB / 0.4917 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1249, allocations: 4 kB / 0.4917 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.1249, allocations: 0 / 0.4917 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.1249, allocations: 0 / 0.4917 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001362/0.125, allocations: 198 kB / 0.4919 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001655/0.1252, allocations: 244.5 kB / 0.4921 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.121e-05/0.1252, allocations: 7.984 kB / 0.4921 GB, free: 7.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.965e-05/0.1253, allocations: 75.28 kB / 0.4922 GB, free: 7.676 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.1253, allocations: 0 / 0.4922 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.126, allocations: 215.9 kB / 0.4924 GB, free: 7.449 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004632/0.1265, allocations: 0.5833 MB / 0.493 GB, free: 6.805 MB / 382.1 MB Notification: Performance of Templates: time 0.003858/0.1303, allocations: 1.452 MB / 0.4944 GB, free: 5.352 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