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.0012/0.0012, allocations: 101.8 kB / 16.27 MB, free: 5.93 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.001051/0.001051, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.401/1.401, 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.1987/0.1987, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001561/0.001561, allocations: 70.31 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08992, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001615/0.09156, allocations: 493.4 kB / 441.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.09223, allocations: 354.1 kB / 441.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.09226, allocations: 4 kB / 441.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.09232, allocations: 0 / 441.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.09233, allocations: 0 / 441.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.09307, allocations: 183.5 kB / 441.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.083e-05/0.09312, allocations: 0 / 441.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.09316, allocations: 4 kB / 441.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.184e-05/0.09318, allocations: 4 kB / 441.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.0932, allocations: 3.984 kB / 441.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.09321, allocations: 0 / 441.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.09347, allocations: 155.7 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.09348, allocations: 0 / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.09351, allocations: 7.938 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.09371, allocations: 139.7 kB / 441.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09372, allocations: 0 / 441.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09372, allocations: 0 / 441.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.09373, allocations: 0 / 441.9 MB, free: 5.488 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.0002892/0.09403, allocations: 369.3 kB / 442.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.09407, allocations: 11.89 kB / 442.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.0941, allocations: 34.73 kB / 442.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.09413, allocations: 4.938 kB / 442.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.324e-05/0.09419, allocations: 160.4 kB / 442.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.0942, allocations: 384 / 442.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.09421, allocations: 4.312 kB / 442.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.054e-05/0.09429, allocations: 30.27 kB / 442.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.0943, allocations: 3.938 kB / 442.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.09431, allocations: 0 / 442.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.09432, allocations: 4 kB / 442.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.09434, allocations: 3.938 kB / 442.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.742e-05/0.09443, allocations: 157.7 kB / 442.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.006e-05/0.09447, allocations: 14.58 kB / 442.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.09449, allocations: 11.09 kB / 442.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.0945, allocations: 0 / 442.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.09453, allocations: 64.36 kB / 442.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.09454, allocations: 0 / 442.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.09468, allocations: 75.27 kB / 442.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.09473, allocations: 77.11 kB / 442.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.995e-05/0.09476, allocations: 89.86 kB / 443 MB, free: 4.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.09477, allocations: 25.7 kB / 443 MB, free: 4.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.271e-05/0.09479, allocations: 80.14 kB / 443.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.09481, allocations: 288 / 443.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.09484, allocations: 13.84 kB / 443.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.0949, allocations: 314.8 kB / 443.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.09491, allocations: 7.922 kB / 443.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.09492, allocations: 4 kB / 443.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.09496, allocations: 60.27 kB / 443.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09497, allocations: 4 kB / 443.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.507e-05/0.09503, allocations: 55.41 kB / 443.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.09506, allocations: 37.69 kB / 443.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.09507, allocations: 8.031 kB / 443.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.09509, allocations: 0 / 443.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.0951, allocations: 0 / 443.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.09511, allocations: 0 / 443.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.09513, allocations: 3.938 kB / 443.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.09514, allocations: 0 / 443.6 MB, free: 3.512 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.55e-05/0.0952, allocations: 147.4 kB / 443.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.09522, allocations: 0 / 443.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.09523, allocations: 7.062 kB / 443.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.09524, allocations: 4 kB / 443.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.09525, allocations: 4 kB / 443.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.09525, allocations: 0 / 443.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.714e-05/0.09532, allocations: 145.7 kB / 443.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.09532, allocations: 0 / 443.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.09533, allocations: 0 / 443.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.09533, allocations: 3.938 kB / 443.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.09535, allocations: 7.938 kB / 443.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.09535, allocations: 0 / 443.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.09536, allocations: 0 / 443.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.082e-05/0.09543, allocations: 94.83 kB / 444 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.09546, allocations: 81.09 kB / 444.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.09548, allocations: 3.938 kB / 444.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.09549, allocations: 0 / 444.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.09551, allocations: 3.984 kB / 444.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.09551, allocations: 8 kB / 444.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.111e-05/0.09553, allocations: 79.22 kB / 444.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09553, allocations: 0 / 444.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.09584, allocations: 52.03 kB / 444.3 MB, free: 2.773 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.0004793/0.09633, allocations: 0.7122 MB / 445 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.247e-05/0.09641, allocations: 67.42 kB / 445 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09642, allocations: 0 / 445 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.09644, allocations: 59.34 kB / 445.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.09658, allocations: 2.969 kB / 445.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.09684, allocations: 126.6 kB / 445.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.114e-05/0.09693, allocations: 0.6729 MB / 445.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.53e-06/0.09694, allocations: 0 / 445.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.09696, allocations: 7.438 kB / 445.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09696, allocations: 0 / 445.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.1164, allocations: 2.273 MB / 448.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.691, allocations: 11.27 kB / 448.2 MB, free: 14.74 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 & /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