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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 117.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 192.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3117/0.3117, allocations: 44.23 MB / 326.5 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002119/0.002119, allocations: 71.89 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2496, allocations: 61 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001492/0.2511, allocations: 0.5045 MB / 0.5114 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007123/0.2518, allocations: 346.5 kB / 0.5117 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.2518, allocations: 0 / 0.5117 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.2518, allocations: 3.938 kB / 0.5117 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.2518, allocations: 0 / 0.5117 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.2526, allocations: 185.2 kB / 0.5119 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.605e-05/0.2526, allocations: 5.281 kB / 0.5119 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.2527, allocations: 1.094 kB / 0.5119 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.2527, allocations: 1.062 kB / 0.5119 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.2527, allocations: 3.984 kB / 0.5119 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.2527, allocations: 1.156 kB / 0.5119 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.253, allocations: 180.8 kB / 0.5121 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-06/0.253, allocations: 0 / 0.5121 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.253, allocations: 4.844 kB / 0.5121 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.2533, allocations: 147.6 kB / 0.5122 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2533, allocations: 0 / 0.5122 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2533, allocations: 4 kB / 0.5122 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2533, allocations: 0 / 0.5122 GB, free: 12.32 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.0003098/0.2536, allocations: 367.7 kB / 0.5126 GB, free: 11.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2536, allocations: 11.02 kB / 0.5126 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.2536, allocations: 31.31 kB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.2537, allocations: 4.781 kB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.969e-05/0.2537, allocations: 164.4 kB / 0.5128 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2537, allocations: 384 / 0.5128 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.2537, allocations: 8.25 kB / 0.5128 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.2538, allocations: 37.75 kB / 0.5128 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2538, allocations: 3.938 kB / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.2539, allocations: 0 / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2539, allocations: 0 / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.521e-05/0.2539, allocations: 0 / 0.5128 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.368e-05/0.254, allocations: 145.3 kB / 0.513 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.728e-05/0.254, allocations: 14.58 kB / 0.513 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.254, allocations: 20.09 kB / 0.513 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-06/0.254, allocations: 4 kB / 0.513 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2541, allocations: 56.27 kB / 0.5131 GB, free: 11.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2541, allocations: 0 / 0.5131 GB, free: 11.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.2542, allocations: 64.03 kB / 0.5131 GB, free: 11.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2542, allocations: 81.09 kB / 0.5132 GB, free: 11.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.055e-05/0.2543, allocations: 89.86 kB / 0.5133 GB, free: 11.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.2543, allocations: 29.7 kB / 0.5133 GB, free: 11.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-06/0.2543, allocations: 84.27 kB / 0.5134 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.2543, allocations: 3.875 kB / 0.5134 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.2543, allocations: 9.719 kB / 0.5134 GB, free: 10.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.36e-05/0.2543, allocations: 310.8 kB / 0.5137 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.2544, allocations: 7.5 kB / 0.5137 GB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.2544, allocations: 4 kB / 0.5137 GB, free: 10.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.2544, allocations: 63.58 kB / 0.5138 GB, free: 10.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2544, allocations: 0 / 0.5138 GB, free: 10.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.724e-05/0.2544, allocations: 69.61 kB / 0.5138 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2544, allocations: 32.27 kB / 0.5139 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2545, allocations: 3.938 kB / 0.5139 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2545, allocations: 0 / 0.5139 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.2545, allocations: 0 / 0.5139 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2545, allocations: 0 / 0.5139 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.2545, allocations: 3.719 kB / 0.5139 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.2545, allocations: 0 / 0.5139 GB, free: 10.42 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 4.028e-05/0.2545, allocations: 139.5 kB / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.2545, allocations: 5.062 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-06/0.2545, allocations: 8.188 kB / 0.514 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.2545, allocations: 0 / 0.514 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2545, allocations: 5 kB / 0.514 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2546, allocations: 3.984 kB / 0.514 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.217e-05/0.2546, allocations: 150.9 kB / 0.5142 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2546, allocations: 1.281 kB / 0.5142 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.2546, allocations: 0 / 0.5142 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-06/0.2546, allocations: 0 / 0.5142 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2546, allocations: 5.406 kB / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2546, allocations: 4 kB / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2546, allocations: 0 / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.21e-05/0.2547, allocations: 90.23 kB / 0.5143 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.2547, allocations: 77.11 kB / 0.5143 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2547, allocations: 6.031 kB / 0.5143 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-06/0.2547, allocations: 0 / 0.5143 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-06/0.2547, allocations: 0.875 kB / 0.5143 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2547, allocations: 1.125 kB / 0.5143 GB, free: 9.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.2547, allocations: 83.22 kB / 0.5144 GB, free: 9.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2547, allocations: 0 / 0.5144 GB, free: 9.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.255, allocations: 55.05 kB / 0.5145 GB, free: 9.742 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.0004263/0.2554, allocations: 0.7182 MB / 0.5152 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.532e-05/0.2555, allocations: 56.28 kB / 0.5152 GB, free: 9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2555, allocations: 1.875 kB / 0.5152 GB, free: 9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.2555, allocations: 57.25 kB / 0.5153 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.2556, allocations: 3.906 kB / 0.5153 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.2559, allocations: 141.5 kB / 0.5154 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.014e-05/0.2559, allocations: 0.6748 MB / 0.5161 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.649e-06/0.2559, allocations: 4.125 kB / 0.5161 GB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-06/0.256, allocations: 9.5 kB / 0.5161 GB, free: 8.062 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.256, allocations: 0 / 0.5161 GB, free: 8.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.2778, allocations: 2.311 MB / 0.5184 GB, free: 6.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.346, allocations: 6.188 kB / 0.5184 GB, free: 6.688 MB / 382.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.951340370811522]