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.001302/0.001302, allocations: 109 kB / 16.41 MB, free: 6.441 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.001797/0.001797, allocations: 189.1 kB / 17.34 MB, free: 5.719 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2074/0.2074, allocations: 43.53 MB / 314.1 MB, free: 456 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.002587/0.002588, allocations: 73.45 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.119, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001641/0.1207, allocations: 498.7 kB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000839/0.1216, allocations: 350.7 kB / 499.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.1216, allocations: 4 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1216, allocations: 0 / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.1217, allocations: 0 / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.1226, allocations: 183.6 kB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.1226, allocations: 4 kB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.1227, allocations: 0 / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.1227, allocations: 3.938 kB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.959e-05/0.1227, allocations: 0 / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.605e-06/0.1227, allocations: 4 kB / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.123, allocations: 171.7 kB / 0.4886 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.1231, allocations: 3.938 kB / 0.4886 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.1231, allocations: 7.938 kB / 0.4886 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1234, allocations: 139.8 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1234, allocations: 0 / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1234, allocations: 0 / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1234, 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.0003881/0.1238, allocations: 369.5 kB / 0.489 GB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1238, allocations: 11.89 kB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1239, allocations: 30.75 kB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1239, allocations: 4.938 kB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.124, allocations: 168.3 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.124, allocations: 384 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.124, allocations: 384 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.857e-05/0.1241, allocations: 34.25 kB / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1242, allocations: 3.938 kB / 0.4893 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.1242, allocations: 3.938 kB / 0.4893 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1242, allocations: 0 / 0.4893 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.1242, allocations: 0 / 0.4893 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1244, allocations: 153.6 kB / 0.4894 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.1244, allocations: 22.52 kB / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.1244, allocations: 4.859 kB / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-06/0.1244, allocations: 0 / 0.4895 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.1245, allocations: 64.34 kB / 0.4895 GB, free: 9.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1245, allocations: 0 / 0.4895 GB, free: 9.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.1247, allocations: 67.34 kB / 0.4896 GB, free: 9.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1248, allocations: 77.23 kB / 0.4897 GB, free: 9.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.067e-05/0.1248, allocations: 93.86 kB / 0.4898 GB, free: 9.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1248, allocations: 25.7 kB / 0.4898 GB, free: 9.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.1249, allocations: 84.12 kB / 0.4899 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.1249, allocations: 3.938 kB / 0.4899 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.125, allocations: 13.72 kB / 0.4899 GB, free: 9.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1251, allocations: 314.8 kB / 0.4902 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.1251, allocations: 0 / 0.4902 GB, free: 9.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-06/0.1251, allocations: 4 kB / 0.4902 GB, free: 9.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.1252, allocations: 60.33 kB / 0.4902 GB, free: 9.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1252, allocations: 4 kB / 0.4902 GB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.46e-05/0.1253, allocations: 63.38 kB / 0.4903 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.1254, allocations: 33.7 kB / 0.4903 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1254, allocations: 3.938 kB / 0.4903 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1254, allocations: 0 / 0.4903 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.1254, allocations: 4 kB / 0.4903 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1254, allocations: 3.938 kB / 0.4903 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1254, allocations: 7.938 kB / 0.4904 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1255, allocations: 4.031 kB / 0.4904 GB, free: 8.988 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 9.48e-05/0.1256, allocations: 143.5 kB / 0.4905 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.1256, allocations: 0 / 0.4905 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.1256, allocations: 7.062 kB / 0.4905 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1256, allocations: 4 kB / 0.4905 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1256, allocations: 0 / 0.4905 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1256, allocations: 0 / 0.4905 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1258, allocations: 141.7 kB / 0.4906 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1258, allocations: 3.938 kB / 0.4906 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.1258, allocations: 7.984 kB / 0.4907 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1258, allocations: 0 / 0.4907 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1258, allocations: 7.938 kB / 0.4907 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1258, allocations: 0 / 0.4907 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1258, allocations: 0 / 0.4907 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1259, allocations: 86.84 kB / 0.4907 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.126, allocations: 81.09 kB / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.126, allocations: 3.969 kB / 0.4908 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.27e-05/0.126, allocations: 4 kB / 0.4908 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.126, allocations: 3.938 kB / 0.4908 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1261, allocations: 8 kB / 0.4908 GB, free: 8.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.5e-05/0.1261, allocations: 75.28 kB / 0.4909 GB, free: 8.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1261, allocations: 0 / 0.4909 GB, free: 8.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000321/0.1264, allocations: 47.98 kB / 0.491 GB, free: 8.262 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.000739/0.1272, allocations: 0.7095 MB / 0.4916 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1273, allocations: 59.41 kB / 0.4917 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1273, allocations: 3.938 kB / 0.4917 GB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.1274, allocations: 55.41 kB / 0.4918 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1275, allocations: 0 / 0.4918 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.1279, allocations: 150.5 kB / 0.4919 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1282, allocations: 0.6729 MB / 0.4926 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.136e-06/0.1282, allocations: 0 / 0.4926 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.1282, allocations: 7.438 kB / 0.4926 GB, free: 6.484 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1282, allocations: 0 / 0.4926 GB, free: 6.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.1476, allocations: 2.319 MB / 0.4948 GB, free: 4.164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.682, allocations: 0 / 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 & /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