Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 71.89 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3692, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001572/0.3708, allocations: 486.8 kB / 0.531 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.3717, allocations: 376.2 kB / 0.5313 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.3717, allocations: 0 / 0.5313 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.3717, allocations: 3.938 kB / 0.5313 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.3717, allocations: 4 kB / 0.5313 GB, free: 12.77 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.000759/0.3725, allocations: 195.2 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.107e-05/0.3725, allocations: 5.281 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.3726, allocations: 5.703 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.3726, allocations: 5.359 kB / 0.5315 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.856e-05/0.3726, allocations: 0 / 0.5315 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.3726, allocations: 0 / 0.5315 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.373, allocations: 185.2 kB / 0.5317 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.787e-06/0.373, allocations: 5.766 kB / 0.5317 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.373, allocations: 0 / 0.5317 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.3732, allocations: 150.5 kB / 0.5319 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3733, allocations: 7.938 kB / 0.5319 GB, free: 12.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3733, allocations: 0 / 0.5319 GB, free: 12.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3733, allocations: 0 / 0.5319 GB, free: 12.45 MB / 398.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.000323/0.3736, allocations: 360.5 kB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3736, allocations: 9.281 kB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.3737, allocations: 34.75 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.3737, allocations: 4.922 kB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.222e-05/0.3738, allocations: 164.3 kB / 0.5324 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3738, allocations: 1.094 kB / 0.5324 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.3738, allocations: 5.531 kB / 0.5324 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.182e-05/0.3739, allocations: 28.52 kB / 0.5324 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3739, allocations: 3.938 kB / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.3739, allocations: 1.406 kB / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3739, allocations: 0 / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.577e-05/0.3739, allocations: 1.688 kB / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.3741, allocations: 147.3 kB / 0.5326 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.3741, allocations: 24.11 kB / 0.5326 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.3741, allocations: 14.48 kB / 0.5326 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3741, allocations: 3.984 kB / 0.5326 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3742, allocations: 57.92 kB / 0.5327 GB, free: 11.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3742, allocations: 0 / 0.5327 GB, free: 11.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001685/0.3744, allocations: 66.52 kB / 0.5327 GB, free: 11.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.3744, allocations: 82.05 kB / 0.5328 GB, free: 11.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.954e-05/0.3745, allocations: 93.86 kB / 0.5329 GB, free: 11.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3745, allocations: 29.83 kB / 0.5329 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.3745, allocations: 86.42 kB / 0.533 GB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.3745, allocations: 3.938 kB / 0.533 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.3746, allocations: 11.75 kB / 0.533 GB, free: 11.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3747, allocations: 310.8 kB / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.3747, allocations: 3.906 kB / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.3747, allocations: 3.984 kB / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.3748, allocations: 65.7 kB / 0.5334 GB, free: 10.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3748, allocations: 0 / 0.5334 GB, free: 10.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.299e-05/0.3748, allocations: 58.59 kB / 0.5335 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.3749, allocations: 32.58 kB / 0.5335 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3749, allocations: 3.938 kB / 0.5335 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3749, allocations: 3.984 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.3749, allocations: 0 / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3749, allocations: 3.938 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.375, allocations: 0.9375 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.375, allocations: 3.312 kB / 0.5335 GB, free: 10.55 MB / 398.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 8.987e-05/0.3751, allocations: 139.6 kB / 0.5336 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.3751, allocations: 2.969 kB / 0.5336 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.3751, allocations: 11.06 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3751, allocations: 0 / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3751, allocations: 0 / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3751, allocations: 0 / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.3752, allocations: 152.4 kB / 0.5338 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3752, allocations: 0 / 0.5338 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3752, allocations: 0 / 0.5338 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3752, allocations: 4 kB / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3753, allocations: 7.844 kB / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3753, allocations: 0 / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3753, allocations: 0 / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.231e-05/0.3754, allocations: 89.48 kB / 0.5339 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.3754, allocations: 77.11 kB / 0.534 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3754, allocations: 3.938 kB / 0.534 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-06/0.3754, allocations: 3.938 kB / 0.534 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.3755, allocations: 7.562 kB / 0.534 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3755, allocations: 0 / 0.534 GB, free: 9.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.3755, allocations: 79.27 kB / 0.5341 GB, free: 9.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.3755, allocations: 0 / 0.5341 GB, free: 9.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3758, allocations: 54.84 kB / 0.5341 GB, free: 9.887 MB / 398.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.0006997/0.3765, allocations: 0.7244 MB / 0.5348 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.3766, allocations: 68.84 kB / 0.5349 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3766, allocations: 0 / 0.5349 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.3767, allocations: 55.53 kB / 0.5349 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3768, allocations: 1.375 kB / 0.5349 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.3772, allocations: 131.4 kB / 0.5351 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3774, allocations: 0.6703 MB / 0.5357 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.811e-06/0.3775, allocations: 0 / 0.5357 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.3775, allocations: 8.75 kB / 0.5357 GB, free: 8.215 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3775, allocations: 0 / 0.5357 GB, free: 8.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.3956, allocations: 2.423 MB / 0.5381 GB, free: 6.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/8.04, allocations: 2.047 kB / 0.5381 GB, free: 6.855 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches