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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.93 MB / 360.8 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 75.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3153, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001566/0.3169, allocations: 0.4893 MB / 0.5612 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.3177, allocations: 381.2 kB / 0.5616 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.3177, allocations: 0 / 0.5616 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.3177, allocations: 0 / 0.5616 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.3177, allocations: 0 / 0.5616 GB, free: 3.441 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.00081/0.3185, allocations: 206.6 kB / 0.5618 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.3186, allocations: 8 kB / 0.5618 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.828e-05/0.3186, allocations: 0 / 0.5618 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.3186, allocations: 3.984 kB / 0.5618 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.506e-05/0.3186, allocations: 0 / 0.5618 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.3187, allocations: 4 kB / 0.5618 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.3191, allocations: 235.5 kB / 0.562 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.3191, allocations: 0 / 0.562 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.3191, allocations: 4 kB / 0.562 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.3193, allocations: 149.5 kB / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3193, allocations: 3.938 kB / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3193, allocations: 0 / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3193, allocations: 0 / 0.5621 GB, free: 2.844 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.0003754/0.3197, allocations: 295.9 kB / 0.5624 GB, free: 2.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3198, allocations: 8.031 kB / 0.5624 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.3198, allocations: 38.75 kB / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.3198, allocations: 4.922 kB / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.3199, allocations: 102.5 kB / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3199, allocations: 384 / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.3199, allocations: 384 / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.32, allocations: 30.27 kB / 0.5626 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.32, allocations: 3.938 kB / 0.5626 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.32, allocations: 0 / 0.5626 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.32, allocations: 0 / 0.5626 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.32, allocations: 15.94 kB / 0.5626 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.3202, allocations: 116.8 kB / 0.5627 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.3202, allocations: 14.67 kB / 0.5627 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.3202, allocations: 8.859 kB / 0.5628 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.3202, allocations: 0 / 0.5628 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.3203, allocations: 60.27 kB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3203, allocations: 0 / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001606/0.3204, allocations: 79.22 kB / 0.5629 GB, free: 1.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.3205, allocations: 77.11 kB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.442e-05/0.3206, allocations: 93.8 kB / 0.5631 GB, free: 1.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3206, allocations: 29.7 kB / 0.5631 GB, free: 1.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.3206, allocations: 84.08 kB / 0.5632 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3206, allocations: 3.984 kB / 0.5632 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.3207, allocations: 13.72 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3208, allocations: 315 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.3208, allocations: 4 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.3208, allocations: 0 / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/0.3208, allocations: 64.25 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3209, allocations: 4 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.219e-05/0.3209, allocations: 67.34 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.321, allocations: 29.7 kB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.321, allocations: 3.938 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.321, allocations: 0 / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.321, allocations: 8.078 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.321, allocations: 4 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.321, allocations: 0 / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.321, allocations: 0 / 0.5637 GB, free: 1.051 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.415e-05/0.3211, allocations: 131.5 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.3211, allocations: 4 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.058e-05/0.3211, allocations: 6.938 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3211, allocations: 3.984 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3211, allocations: 0 / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3211, allocations: 4 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.017e-05/0.3212, allocations: 120.8 kB / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3212, allocations: 0 / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3212, allocations: 0 / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3212, allocations: 0 / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3212, allocations: 7.938 kB / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3212, allocations: 0 / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3212, allocations: 0 / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3213, allocations: 98.77 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-06/0.3213, allocations: 0 / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3213, allocations: 7.938 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-06/0.3213, allocations: 0 / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-06/0.3214, allocations: 0 / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3214, allocations: 3.938 kB / 0.564 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.3214, allocations: 75.28 kB / 0.5641 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3214, allocations: 0 / 0.5641 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3217, allocations: 55.86 kB / 0.5642 GB, free: 468 kB / 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.0007173/0.3224, allocations: 0.7188 MB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.3225, allocations: 59.39 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3225, allocations: 96 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.3225, allocations: 63.41 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.3227, allocations: 6.531 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.323, allocations: 122.6 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.3233, allocations: 0.669 MB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.079e-06/0.3233, allocations: 0 / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.3234, allocations: 7.438 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3234, allocations: 0 / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.3526, allocations: 2.553 MB / 0.5682 GB, free: 12.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.21, allocations: 4.062 kB / 0.5683 GB, free: 12.24 MB / 414.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.067074024816975]