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.001438/0.001438, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001467/0.001468, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.335/1.335, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2071/0.2071, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 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.002449/0.002449, allocations: 68.28 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09473, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001622/0.09642, allocations: 497.5 kB / 441.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.09711, allocations: 354 kB / 441.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.09715, allocations: 0 / 441.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.09719, allocations: 0 / 441.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.149e-06/0.09721, allocations: 0 / 441.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.09803, allocations: 183.5 kB / 441.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.053e-05/0.09809, allocations: 4 kB / 441.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.09813, allocations: 7.984 kB / 441.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.09815, allocations: 0 / 441.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.998e-05/0.09818, allocations: 0 / 441.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.09819, allocations: 0 / 441.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.09844, allocations: 155.7 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.09846, allocations: 0 / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.09848, allocations: 4 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.09869, allocations: 143.7 kB / 441.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.09871, allocations: 0 / 441.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09871, allocations: 0 / 441.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.09872, allocations: 4 kB / 441.9 MB, free: 5.492 MB / 318.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.0002864/0.09901, allocations: 361.3 kB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.09906, allocations: 11.89 kB / 442.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.0991, allocations: 34.75 kB / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.09913, allocations: 4.938 kB / 442.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.129e-05/0.0992, allocations: 160.4 kB / 442.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.09921, allocations: 384 / 442.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.09923, allocations: 384 / 442.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.09932, allocations: 38.23 kB / 442.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.09934, allocations: 7.938 kB / 442.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.09936, allocations: 3.938 kB / 442.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.09937, allocations: 0 / 442.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.09939, allocations: 0 / 442.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.833e-05/0.09949, allocations: 149.7 kB / 442.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/0.09954, allocations: 22.56 kB / 442.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.09956, allocations: 11.09 kB / 442.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.09957, allocations: 4.094 kB / 442.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.09961, allocations: 60.27 kB / 442.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.09962, allocations: 3.938 kB / 442.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001617/0.09978, allocations: 67.28 kB / 442.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.09982, allocations: 81.09 kB / 442.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.084e-05/0.09985, allocations: 93.86 kB / 443 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.09986, allocations: 25.7 kB / 443.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.082e-05/0.09988, allocations: 80.14 kB / 443.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.0999, allocations: 4.406 kB / 443.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.09993, allocations: 13.72 kB / 443.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.09998, allocations: 310.8 kB / 443.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.1, allocations: 0 / 443.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.1, allocations: 4 kB / 443.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.496e-05/0.1001, allocations: 68.2 kB / 443.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1001, allocations: 0 / 443.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.593e-05/0.1001, allocations: 59.48 kB / 443.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.1002, allocations: 38.95 kB / 443.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1002, allocations: 3.938 kB / 443.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1002, allocations: 0 / 443.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1002, allocations: 0 / 443.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1002, allocations: 0 / 443.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.1002, allocations: 3.938 kB / 443.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1002, allocations: 4 kB / 443.6 MB, free: 3.516 MB / 318.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 5.524e-05/0.1003, allocations: 139.5 kB / 443.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.1003, allocations: 0 / 443.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.026e-05/0.1003, allocations: 15.06 kB / 443.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1003, allocations: 7.984 kB / 443.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1003, allocations: 0 / 443.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1004, allocations: 0 / 443.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.471e-05/0.1004, allocations: 145.7 kB / 443.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1004, allocations: 0 / 443.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1004, allocations: 0 / 443.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1004, allocations: 0 / 443.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1004, allocations: 7.938 kB / 443.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1004, allocations: 3.938 kB / 443.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1005, allocations: 7.938 kB / 444 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.029e-05/0.1005, allocations: 90.83 kB / 444 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.1006, allocations: 77.11 kB / 444.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.1006, allocations: 3.938 kB / 444.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.1006, allocations: 0 / 444.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.1006, allocations: 0 / 444.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1006, allocations: 8 kB / 444.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.44e-05/0.1006, allocations: 79.31 kB / 444.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1006, allocations: 0 / 444.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1009, allocations: 55.92 kB / 444.3 MB, free: 2.777 MB / 318.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.0005171/0.1015, allocations: 0.706 MB / 445 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.1016, allocations: 59.41 kB / 445 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1016, allocations: 0 / 445 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.1016, allocations: 59.41 kB / 445.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.1017, allocations: 0 / 445.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.102, allocations: 122.6 kB / 445.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.387e-05/0.1021, allocations: 0.6768 MB / 445.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.892e-06/0.1022, allocations: 3.938 kB / 445.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.1022, allocations: 11.5 kB / 445.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1022, allocations: 4 kB / 445.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.1196, allocations: 2.276 MB / 448.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.657, allocations: 7.375 kB / 448.2 MB, free: 14.75 MB / 334.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