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.001102/0.001102, 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.001246/0.001246, allocations: 200.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, 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.2236/0.2236, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 80.16 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3682, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0023/0.3706, allocations: 0.4901 MB / 0.531 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3718, allocations: 359.3 kB / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.3719, allocations: 0 / 0.5313 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.3719, allocations: 3.938 kB / 0.5313 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-06/0.372, allocations: 7.938 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.001163/0.3731, allocations: 196.1 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.3732, allocations: 9.328 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.3733, allocations: 1.344 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.3733, allocations: 1.312 kB / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.3733, allocations: 0 / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.3733, allocations: 0 / 0.5315 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005317/0.3739, allocations: 194.1 kB / 0.5317 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.3739, allocations: 0 / 0.5317 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.3739, allocations: 5.938 kB / 0.5317 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.3743, allocations: 147.5 kB / 0.5319 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3743, allocations: 0 / 0.5319 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.3743, allocations: 5.5 kB / 0.5319 GB, free: 12.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3743, 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.0005249/0.3748, allocations: 363.2 kB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.3749, allocations: 10.19 kB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.375, allocations: 34.73 kB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.375, allocations: 0.9375 kB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3751, allocations: 161.7 kB / 0.5324 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3752, allocations: 384 / 0.5324 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3752, allocations: 5.625 kB / 0.5324 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.3753, allocations: 33.05 kB / 0.5324 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3753, allocations: 3.938 kB / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3754, allocations: 0 / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3754, allocations: 0 / 0.5324 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.3754, allocations: 5.219 kB / 0.5325 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3756, allocations: 146.9 kB / 0.5326 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.3757, allocations: 21.3 kB / 0.5326 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.3757, allocations: 5.703 kB / 0.5326 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.3757, allocations: 1.156 kB / 0.5326 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.368e-05/0.3758, allocations: 65.44 kB / 0.5327 GB, free: 11.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.3758, allocations: 0 / 0.5327 GB, free: 11.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002411/0.376, allocations: 75.12 kB / 0.5328 GB, free: 11.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3761, allocations: 77.11 kB / 0.5328 GB, free: 11.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.3762, allocations: 91.36 kB / 0.5329 GB, free: 11.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3762, allocations: 29.7 kB / 0.5329 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.3762, allocations: 80.14 kB / 0.533 GB, free: 11.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.3763, allocations: 1.688 kB / 0.533 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.3763, allocations: 18.97 kB / 0.533 GB, free: 11.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3765, allocations: 316.2 kB / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.3765, allocations: 0 / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-06/0.3765, allocations: 1.312 kB / 0.5333 GB, free: 10.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.3765, allocations: 64.14 kB / 0.5334 GB, free: 10.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3766, allocations: 0 / 0.5334 GB, free: 10.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.877e-05/0.3766, allocations: 73.56 kB / 0.5335 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.3767, allocations: 35.84 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3767, allocations: 3.938 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3767, allocations: 1.281 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.3767, allocations: 0 / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3767, allocations: 0 / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.3768, allocations: 1.406 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3768, allocations: 0 / 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 9.097e-05/0.3769, allocations: 142.6 kB / 0.5336 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.3769, allocations: 1.812 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.3769, allocations: 7.062 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3769, allocations: 0 / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3769, allocations: 0 / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3769, allocations: 5.672 kB / 0.5337 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.3771, allocations: 145.6 kB / 0.5338 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3771, allocations: 1.188 kB / 0.5338 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.3771, allocations: 0 / 0.5338 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3771, allocations: 5.312 kB / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3771, allocations: 3.938 kB / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3771, allocations: 0 / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3771, allocations: 1.062 kB / 0.5338 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.3772, allocations: 97.89 kB / 0.5339 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.3773, allocations: 77.11 kB / 0.534 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.3773, allocations: 5.438 kB / 0.534 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.338e-05/0.3773, allocations: 1.469 kB / 0.534 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.3773, allocations: 8.016 kB / 0.534 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3774, allocations: 1.625 kB / 0.534 GB, free: 9.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.814e-05/0.3774, allocations: 75.28 kB / 0.5341 GB, free: 9.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3774, allocations: 0 / 0.5341 GB, free: 9.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.3777, allocations: 51.75 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.0006686/0.3784, allocations: 0.7241 MB / 0.5348 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.58e-05/0.3785, allocations: 58.47 kB / 0.5349 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3785, allocations: 0 / 0.5349 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.3786, allocations: 59.56 kB / 0.5349 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.3787, allocations: 1.562 kB / 0.5349 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.379, allocations: 128.2 kB / 0.5351 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3793, allocations: 0.6729 MB / 0.5357 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.754e-06/0.3793, allocations: 0 / 0.5357 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.3794, allocations: 10.19 kB / 0.5357 GB, free: 8.223 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3794, allocations: 0 / 0.5357 GB, free: 8.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.3983, allocations: 2.419 MB / 0.5381 GB, free: 6.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.929, allocations: 2.172 kB / 0.5381 GB, free: 6.863 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