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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 102.3 kB / 16.4 MB, free: 6.465 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.0013/0.001301, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2155/0.2155, allocations: 43.53 MB / 314.1 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.002112/0.002112, allocations: 69.61 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001671/0.1155, allocations: 494.6 kB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.1164, allocations: 358.7 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.1164, allocations: 4 kB / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1165, allocations: 0 / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.1165, allocations: 0 / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.1173, allocations: 187.5 kB / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.033e-05/0.1174, allocations: 3.984 kB / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1174, allocations: 4 kB / 0.4884 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.202e-05/0.1174, allocations: 0 / 0.4884 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.232e-05/0.1175, allocations: 4 kB / 0.4884 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.1175, allocations: 3.938 kB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.1178, allocations: 167.7 kB / 0.4886 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.006e-06/0.1179, allocations: 4 kB / 0.4886 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.1179, allocations: 7.922 kB / 0.4886 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1182, allocations: 143.7 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1182, allocations: 0 / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1182, allocations: 0 / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1182, allocations: 0 / 0.4887 GB, free: 10.96 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.0004182/0.1186, allocations: 365 kB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1187, allocations: 15.89 kB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1187, allocations: 30.75 kB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.1188, allocations: 8.922 kB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1189, allocations: 164.4 kB / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1189, allocations: 384 / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.1189, allocations: 4.375 kB / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.119, allocations: 30.25 kB / 0.4893 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.119, allocations: 7.875 kB / 0.4893 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1191, allocations: 3.938 kB / 0.4893 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1191, allocations: 0 / 0.4893 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.656e-05/0.1191, allocations: 4 kB / 0.4893 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1192, allocations: 145.7 kB / 0.4895 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.434e-05/0.1193, allocations: 18.61 kB / 0.4895 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.1193, allocations: 8.859 kB / 0.4895 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.1193, allocations: 0 / 0.4895 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.1194, allocations: 60.25 kB / 0.4895 GB, free: 9.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 3.106e-06/0.1194, allocations: 0 / 0.4895 GB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001794/0.1196, allocations: 71.33 kB / 0.4896 GB, free: 9.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1197, allocations: 85.23 kB / 0.4897 GB, free: 9.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.487e-05/0.1197, allocations: 89.86 kB / 0.4898 GB, free: 9.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1197, allocations: 29.7 kB / 0.4898 GB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.1198, allocations: 84.12 kB / 0.4899 GB, free: 9.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.1198, allocations: 0 / 0.4899 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.1198, allocations: 13.72 kB / 0.4899 GB, free: 9.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.12, allocations: 310.8 kB / 0.4902 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.12, allocations: 0 / 0.4902 GB, free: 9.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.12, allocations: 4 kB / 0.4902 GB, free: 9.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.1201, allocations: 64.2 kB / 0.4903 GB, free: 9.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1201, allocations: 0 / 0.4903 GB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.59e-05/0.1202, allocations: 67.39 kB / 0.4903 GB, free: 9.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.1202, allocations: 29.7 kB / 0.4904 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1202, allocations: 3.938 kB / 0.4904 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1202, allocations: 0 / 0.4904 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1202, allocations: 7.938 kB / 0.4904 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1202, allocations: 0 / 0.4904 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.1203, allocations: 4.094 kB / 0.4904 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1203, allocations: 0 / 0.4904 GB, free: 8.977 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.0001018/0.1204, allocations: 143.5 kB / 0.4905 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.1204, allocations: 0 / 0.4905 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.301e-05/0.1204, allocations: 7.062 kB / 0.4905 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1204, allocations: 0 / 0.4905 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1204, allocations: 0 / 0.4905 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1204, allocations: 0 / 0.4905 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1206, allocations: 149.7 kB / 0.4907 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1206, allocations: 11.94 kB / 0.4907 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.1206, allocations: 3.984 kB / 0.4907 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1206, allocations: 0 / 0.4907 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1206, allocations: 7.875 kB / 0.4907 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1206, allocations: 0 / 0.4907 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1206, allocations: 0 / 0.4907 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1207, allocations: 86.84 kB / 0.4908 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.1208, allocations: 81.09 kB / 0.4908 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1208, allocations: 11.97 kB / 0.4908 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.1208, allocations: 0 / 0.4908 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-06/0.1208, allocations: 0 / 0.4908 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1208, allocations: 0 / 0.4908 GB, free: 8.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.1209, allocations: 75.28 kB / 0.4909 GB, free: 8.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1209, allocations: 0 / 0.4909 GB, free: 8.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1211, allocations: 51.92 kB / 0.491 GB, free: 8.246 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.0007152/0.1219, allocations: 0.7141 MB / 0.4917 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.122, allocations: 59.41 kB / 0.4917 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.122, allocations: 0 / 0.4917 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.122, allocations: 51.41 kB / 0.4918 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.1222, allocations: 8.094 kB / 0.4918 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.1225, allocations: 146.3 kB / 0.4919 GB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1228, allocations: 0.6728 MB / 0.4926 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.59e-06/0.1228, allocations: 0 / 0.4926 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.1228, allocations: 7.438 kB / 0.4926 GB, free: 6.465 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1228, allocations: 0 / 0.4926 GB, free: 6.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.1474, allocations: 2.296 MB / 0.4948 GB, free: 4.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.803, allocations: 3.984 kB / 0.4948 GB, free: 4.164 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv","/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