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.001366/0.001366, allocations: 108 kB / 16.41 MB, free: 6.484 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.001296/0.001296, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.403/1.403, allocations: 205.1 MB / 223.2 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.2253/0.2253, allocations: 43.52 MB / 314.1 MB, free: 464 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.002048/0.002048, allocations: 63.91 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.116, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001635/0.1177, allocations: 494.8 kB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008393/0.1185, allocations: 350.7 kB / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.1186, allocations: 0 / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1186, allocations: 4 kB / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.1186, allocations: 0 / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.1194, allocations: 187.6 kB / 0.4884 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.971e-05/0.1195, allocations: 7.875 kB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.1195, allocations: 3.984 kB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.269e-05/0.1196, allocations: 0 / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.318e-05/0.1196, allocations: 8 kB / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-06/0.1196, allocations: 0 / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1199, allocations: 167.7 kB / 0.4886 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.1199, allocations: 0 / 0.4886 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.12, allocations: 11.94 kB / 0.4886 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1202, allocations: 135.7 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1202, allocations: 0 / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1202, allocations: 4 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1202, allocations: 0 / 0.4887 GB, free: 10.98 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.000412/0.1207, allocations: 368.4 kB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1207, allocations: 11.89 kB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.1208, allocations: 38.73 kB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.1208, allocations: 0.9375 kB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1209, allocations: 168.3 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1209, allocations: 4.375 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-06/0.1209, allocations: 384 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.121, allocations: 30.27 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1211, allocations: 7.875 kB / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.1211, allocations: 0 / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1211, allocations: 0 / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.1211, allocations: 0 / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1213, allocations: 149.7 kB / 0.4894 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.365e-05/0.1213, allocations: 22.52 kB / 0.4895 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.1213, allocations: 12.95 kB / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.1214, allocations: 0 / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.1214, allocations: 56.27 kB / 0.4895 GB, free: 9.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1214, allocations: 0 / 0.4895 GB, free: 9.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001881/0.1216, allocations: 67.33 kB / 0.4896 GB, free: 9.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.1217, allocations: 77.11 kB / 0.4897 GB, free: 9.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.1218, allocations: 93.98 kB / 0.4898 GB, free: 9.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1218, allocations: 33.64 kB / 0.4898 GB, free: 9.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.1218, allocations: 80.14 kB / 0.4899 GB, free: 9.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1218, allocations: 4 kB / 0.4899 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.1219, allocations: 9.719 kB / 0.4899 GB, free: 9.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.122, allocations: 314.8 kB / 0.4902 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.1221, allocations: 4 kB / 0.4902 GB, free: 9.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.1221, allocations: 0 / 0.4902 GB, free: 9.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.868e-05/0.1221, allocations: 64.33 kB / 0.4903 GB, free: 9.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1222, allocations: 0 / 0.4903 GB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.16e-05/0.1222, allocations: 63.34 kB / 0.4903 GB, free: 9.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.1223, allocations: 37.69 kB / 0.4903 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1223, allocations: 3.938 kB / 0.4904 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1223, allocations: 0 / 0.4904 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-06/0.1223, allocations: 3.938 kB / 0.4904 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1223, allocations: 0 / 0.4904 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.1224, allocations: 0 / 0.4904 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1224, allocations: 8.031 kB / 0.4904 GB, free: 9 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.0001372/0.1225, allocations: 135.5 kB / 0.4905 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.1225, allocations: 0 / 0.4905 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.1226, allocations: 11.06 kB / 0.4905 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1226, allocations: 0 / 0.4905 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1226, allocations: 4 kB / 0.4905 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1226, allocations: 3.984 kB / 0.4905 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1227, allocations: 149.6 kB / 0.4907 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1227, allocations: 0 / 0.4907 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1227, allocations: 4 kB / 0.4907 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1227, allocations: 4 kB / 0.4907 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1228, allocations: 3.938 kB / 0.4907 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1228, allocations: 0 / 0.4907 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1228, allocations: 0 / 0.4907 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1229, allocations: 90.83 kB / 0.4908 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.123, allocations: 77.11 kB / 0.4908 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.123, allocations: 11.86 kB / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.123, allocations: 4.031 kB / 0.4908 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.123, allocations: 7.984 kB / 0.4908 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.123, allocations: 0 / 0.4908 GB, free: 8.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.1231, allocations: 75.28 kB / 0.4909 GB, free: 8.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1231, allocations: 0 / 0.4909 GB, free: 8.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1234, allocations: 47.94 kB / 0.491 GB, free: 8.27 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.0007955/0.1242, allocations: 0.7124 MB / 0.4917 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1243, allocations: 63.33 kB / 0.4917 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1243, allocations: 0 / 0.4917 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.1243, allocations: 55.41 kB / 0.4918 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1245, allocations: 4 kB / 0.4918 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.1248, allocations: 142.4 kB / 0.4919 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1252, allocations: 0.669 MB / 0.4926 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.931e-06/0.1252, allocations: 4 kB / 0.4926 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.1252, allocations: 7.438 kB / 0.4926 GB, free: 6.492 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1252, allocations: 0 / 0.4926 GB, free: 6.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.15, allocations: 2.304 MB / 0.4948 GB, free: 4.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.269, allocations: 8.047 kB / 0.4948 GB, free: 4.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.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