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.001065/0.001064, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001134/0.001135, allocations: 187.1 kB / 18.71 MB, free: 4.344 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.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2332/0.2332, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3523, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001424/0.3537, allocations: 496.8 kB / 0.5189 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.3545, allocations: 375.1 kB / 0.5192 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.3546, allocations: 0 / 0.5192 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.3546, allocations: 0 / 0.5192 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.3546, allocations: 4 kB / 0.5192 GB, free: 2.762 MB / 382.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.0007535/0.3554, allocations: 197.2 kB / 0.5194 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.3554, allocations: 1.281 kB / 0.5194 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.3555, allocations: 1.938 kB / 0.5194 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.242e-05/0.3555, allocations: 5.125 kB / 0.5194 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.925e-05/0.3555, allocations: 0 / 0.5194 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.3555, allocations: 0 / 0.5194 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.3559, allocations: 207.5 kB / 0.5196 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.3559, allocations: 3.984 kB / 0.5196 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3559, allocations: 4.875 kB / 0.5196 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.3562, allocations: 152.8 kB / 0.5198 GB, free: 2.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3562, allocations: 0 / 0.5198 GB, free: 2.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3562, allocations: 1.344 kB / 0.5198 GB, free: 2.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3562, allocations: 0 / 0.5198 GB, free: 2.562 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.0003011/0.3565, allocations: 372.1 kB / 0.5201 GB, free: 2.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3566, allocations: 10.73 kB / 0.5202 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.459e-05/0.3566, allocations: 30.75 kB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.3567, allocations: 6.281 kB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.429e-05/0.3567, allocations: 165.8 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3567, allocations: 8.312 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.3567, allocations: 1.969 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.769e-05/0.3568, allocations: 30.31 kB / 0.5204 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3568, allocations: 3.938 kB / 0.5204 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3568, allocations: 0 / 0.5204 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3569, allocations: 0 / 0.5204 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.3569, allocations: 3.312 kB / 0.5204 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.358e-05/0.357, allocations: 148.2 kB / 0.5205 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.357, allocations: 24.84 kB / 0.5206 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.357, allocations: 6.828 kB / 0.5206 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.357, allocations: 0 / 0.5206 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3571, allocations: 58.25 kB / 0.5206 GB, free: 1.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3571, allocations: 0 / 0.5206 GB, free: 1.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001667/0.3572, allocations: 69.28 kB / 0.5207 GB, free: 1.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3573, allocations: 78.33 kB / 0.5208 GB, free: 1.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.419e-05/0.3573, allocations: 90.78 kB / 0.5209 GB, free: 1.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.3573, allocations: 30.95 kB / 0.5209 GB, free: 1.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.217e-05/0.3574, allocations: 80.14 kB / 0.521 GB, free: 1.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.3574, allocations: 0.9688 kB / 0.521 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.3574, allocations: 13.09 kB / 0.521 GB, free: 1.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.3575, allocations: 315.5 kB / 0.5213 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.3575, allocations: 5.344 kB / 0.5213 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-06/0.3575, allocations: 2.156 kB / 0.5213 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.3575, allocations: 63.53 kB / 0.5213 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3575, allocations: 3.938 kB / 0.5213 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.06e-05/0.3576, allocations: 60.62 kB / 0.5214 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3576, allocations: 31.7 kB / 0.5214 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3576, allocations: 3.938 kB / 0.5214 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3576, allocations: 2.125 kB / 0.5214 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3576, allocations: 0 / 0.5214 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3577, allocations: 1.219 kB / 0.5214 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.3577, allocations: 0 / 0.5214 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3577, allocations: 5.891 kB / 0.5214 GB, free: 0.6797 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 5.822e-05/0.3577, allocations: 142.8 kB / 0.5216 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.3578, allocations: 0.6562 kB / 0.5216 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.3578, allocations: 16.73 kB / 0.5216 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.3578, allocations: 0 / 0.5216 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3578, allocations: 0 / 0.5216 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3578, allocations: 1.938 kB / 0.5216 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.096e-05/0.3579, allocations: 144.8 kB / 0.5217 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3579, allocations: 0 / 0.5217 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-06/0.3579, allocations: 6.078 kB / 0.5217 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3579, allocations: 4 kB / 0.5217 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.3579, allocations: 5.281 kB / 0.5218 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3579, allocations: 0.7031 kB / 0.5218 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3579, allocations: 4 kB / 0.5218 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.987e-05/0.358, allocations: 89.06 kB / 0.5218 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.358, allocations: 77.67 kB / 0.5219 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.358, allocations: 5.953 kB / 0.5219 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-06/0.358, allocations: 5.062 kB / 0.5219 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.3581, allocations: 1.312 kB / 0.5219 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3581, allocations: 8.875 kB / 0.5219 GB, free: 104 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.51e-05/0.3581, allocations: 76.28 kB / 0.522 GB, free: 28 kB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3581, allocations: 0 / 0.522 GB, free: 28 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.3584, allocations: 48.05 kB / 0.5221 GB, free: 24 kB / 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.0006905/0.3591, allocations: 0.7264 MB / 0.5228 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.3592, allocations: 57.48 kB / 0.5228 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3592, allocations: 0 / 0.5228 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.3592, allocations: 59.94 kB / 0.5229 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.3594, allocations: 2.734 kB / 0.5229 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3597, allocations: 131.4 kB / 0.523 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3599, allocations: 0.6751 MB / 0.5237 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.821e-06/0.36, allocations: 0 / 0.5237 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.36, allocations: 8.656 kB / 0.5237 GB, free: 14.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.36, allocations: 1.062 kB / 0.5237 GB, free: 14.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.3807, allocations: 2.471 MB / 0.5261 GB, free: 13.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.943, allocations: 9.062 kB / 0.5261 GB, free: 13.75 MB / 398.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