Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_0_0_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.001191/0.001191, allocations: 106.8 kB / 17.33 MB, free: 6 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.001244/0.001244, allocations: 193.3 kB / 18.25 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2138/0.2138, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001656/0.1215, allocations: 0.5371 MB / 469.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007683/0.1223, allocations: 381.5 kB / 469.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.288e-05/0.1223, allocations: 0 / 469.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1224, allocations: 0 / 469.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.1224, allocations: 4 kB / 469.7 MB, free: 13.73 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function ‘ModelicaTest.Math.BooleanFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.1231, allocations: 186.6 kB / 469.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.728e-05/0.1231, allocations: 0 / 469.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.1232, allocations: 3.984 kB / 469.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.235e-05/0.1232, allocations: 3.828 kB / 469.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.065e-05/0.1232, allocations: 7.984 kB / 469.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1232, allocations: 0 / 469.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.1235, allocations: 183.6 kB / 470.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-06/0.1235, allocations: 0 / 470.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.1235, allocations: 0 / 470.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1237, allocations: 159.7 kB / 470.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1237, allocations: 0 / 470.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1237, allocations: 0 / 470.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1237, allocations: 4 kB / 470.3 MB, free: 13.2 MB / 350.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.000325/0.1241, allocations: 369.2 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1241, allocations: 12.03 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.505e-05/0.1242, allocations: 30.75 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.1242, allocations: 4.938 kB / 470.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.1243, allocations: 164.4 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.1243, allocations: 384 / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.1243, allocations: 384 / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.1244, allocations: 30.27 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1244, allocations: 3.938 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1244, allocations: 0 / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1244, allocations: 0 / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.1244, allocations: 11.92 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.1245, allocations: 145.7 kB / 471 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.916e-05/0.1246, allocations: 14.58 kB / 471 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.1246, allocations: 12.95 kB / 471 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.1246, allocations: 0 / 471 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1247, allocations: 56.27 kB / 471.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1247, allocations: 0 / 471.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.1248, allocations: 71.39 kB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1249, allocations: 81.11 kB / 471.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.787e-05/0.1249, allocations: 89.86 kB / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1249, allocations: 33.7 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.1249, allocations: 80.14 kB / 471.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.125, allocations: 3.984 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.125, allocations: 9.719 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1251, allocations: 318.8 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.1251, allocations: 4 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.1251, allocations: 0 / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.1252, allocations: 60.27 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1252, allocations: 0 / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.353e-05/0.1253, allocations: 71.28 kB / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.1253, allocations: 33.69 kB / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1253, allocations: 3.938 kB / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1253, allocations: 0 / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1253, allocations: 0 / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1254, allocations: 8.031 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.1254, allocations: 4 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1254, allocations: 0 / 472 MB, free: 11.22 MB / 350.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.901e-05/0.1255, allocations: 131.5 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.1255, allocations: 4 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.1255, allocations: 11.02 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1255, allocations: 3.984 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1255, allocations: 0 / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1255, allocations: 0 / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.332e-05/0.1256, allocations: 149.7 kB / 472.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1256, allocations: 4 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-06/0.1256, allocations: 4 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1256, allocations: 0 / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1256, allocations: 3.938 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1256, allocations: 0 / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1256, allocations: 0 / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.109e-05/0.1257, allocations: 98.67 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.1258, allocations: 81.14 kB / 472.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1258, allocations: 7.922 kB / 472.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.1258, allocations: 4 kB / 472.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.1258, allocations: 3.984 kB / 472.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1258, allocations: 0 / 472.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.712e-05/0.1259, allocations: 75.28 kB / 472.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1259, allocations: 0 / 472.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1262, allocations: 52 kB / 472.6 MB, free: 10.49 MB / 350.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.0006049/0.1268, allocations: 0.7278 MB / 473.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.1269, allocations: 63.41 kB / 473.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1269, allocations: 0 / 473.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.1269, allocations: 59.5 kB / 473.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.127, allocations: 9.766 kB / 473.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.1273, allocations: 126.6 kB / 473.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1276, allocations: 0.6768 MB / 474.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.083e-06/0.1276, allocations: 0 / 474.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.1276, allocations: 7.438 kB / 474.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1276, allocations: 0 / 474.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.141, allocations: 2.426 MB / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/0.1413, allocations: 229.2 kB / 476.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/1.965, allocations: 3.938 kB / 476.9 MB, free: 6.125 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches