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.001656/0.001656, allocations: 106.8 kB / 15.98 MB, free: 6.352 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.001584/0.001584, allocations: 197.8 kB / 16.91 MB, free: 6.195 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.46/1.46, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2747/0.2747, allocations: 43.49 MB / 313.6 MB, free: 8.477 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.001323/0.001322, allocations: 68.45 kB / 382.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08852, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001438/0.09, allocations: 0.562 MB / 440.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005983/0.09061, allocations: 339.4 kB / 441 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.077e-05/0.09063, allocations: 0 / 441 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.09065, allocations: 4 kB / 441 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.566e-06/0.09066, allocations: 0 / 441 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.09123, allocations: 171.7 kB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.207e-05/0.09127, allocations: 4 kB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.074e-05/0.09131, allocations: 0 / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.122e-05/0.09132, allocations: 3.984 kB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.417e-05/0.09134, allocations: 4 kB / 441.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-06/0.09135, allocations: 0 / 441.2 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.09157, allocations: 163.7 kB / 441.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-06/0.09158, allocations: 7.828 kB / 441.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.0916, allocations: 0 / 441.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.0918, allocations: 147.7 kB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.09181, allocations: 0 / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.09181, allocations: 7.922 kB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.09183, allocations: 0 / 441.5 MB, free: 13.25 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.0002745/0.09211, allocations: 369.2 kB / 441.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.09214, allocations: 15.89 kB / 441.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.09217, allocations: 30.75 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.66e-05/0.09219, allocations: 4.875 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.452e-05/0.09227, allocations: 164.4 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.09228, allocations: 384 / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.09229, allocations: 4.375 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.675e-05/0.09235, allocations: 26.27 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-06/0.09237, allocations: 3.938 kB / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-06/0.09237, allocations: 0 / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-06/0.09238, allocations: 4 kB / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.0924, allocations: 11.92 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.824e-05/0.09251, allocations: 149.7 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.857e-05/0.09254, allocations: 18.61 kB / 442.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.037e-05/0.09256, allocations: 4.859 kB / 442.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-06/0.09256, allocations: 0 / 442.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.0926, allocations: 56.27 kB / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.09261, allocations: 4 kB / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.09274, allocations: 75.33 kB / 442.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.09278, allocations: 77.11 kB / 442.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.428e-05/0.09282, allocations: 93.86 kB / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.09283, allocations: 25.7 kB / 442.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.984e-05/0.09286, allocations: 80.14 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.09287, allocations: 0 / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.0929, allocations: 9.719 kB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.093, allocations: 323 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.09301, allocations: 0 / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.09302, allocations: 0 / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.09306, allocations: 64.27 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.09307, allocations: 0 / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.489e-05/0.09313, allocations: 63.34 kB / 443.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.09316, allocations: 33.69 kB / 443.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.09317, allocations: 7.922 kB / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.09318, allocations: 4.094 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.09319, allocations: 0 / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.0932, allocations: 4 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.09321, allocations: 0 / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.09322, allocations: 0 / 443.2 MB, free: 11.27 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 6.833e-05/0.09329, allocations: 139.5 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.0933, allocations: 3.938 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-06/0.09332, allocations: 11 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.09333, allocations: 3.984 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.09333, allocations: 4 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.09334, allocations: 0 / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.578e-05/0.09342, allocations: 146 kB / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.09342, allocations: 0 / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.09343, allocations: 0 / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.09343, allocations: 0 / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.09344, allocations: 3.938 kB / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.09345, allocations: 0 / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.09346, allocations: 3.984 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.09359, allocations: 94.78 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.09363, allocations: 77.11 kB / 443.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.09364, allocations: 11.92 kB / 443.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.09366, allocations: 0 / 443.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-06/0.09367, allocations: 0 / 443.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.09367, allocations: 4 kB / 443.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.154e-05/0.0937, allocations: 75.28 kB / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0937, allocations: 0 / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.09396, allocations: 52.03 kB / 443.8 MB, free: 10.54 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.0005518/0.09452, allocations: 0.7223 MB / 444.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.769e-05/0.0946, allocations: 59.39 kB / 444.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.09461, allocations: 12.09 kB / 444.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.09464, allocations: 55.39 kB / 444.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.09475, allocations: 4 kB / 444.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.095, allocations: 134.4 kB / 444.8 MB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.0952, allocations: 0.6729 MB / 445.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.488e-06/0.09521, allocations: 0 / 445.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-06/0.09522, allocations: 11.38 kB / 445.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.09523, allocations: 0 / 445.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.1218, allocations: 2.205 MB / 447.7 MB, free: 6.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1221, allocations: 241.3 kB / 447.9 MB, free: 6.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.954, allocations: 0 / 447.9 MB, free: 6.305 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches