Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 46.95 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001713/0.3134, allocations: 497 kB / 0.5611 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.3143, allocations: 369.3 kB / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.3143, allocations: 0 / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.3144, allocations: 3.938 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.3144, allocations: 0 / 0.5614 GB, free: 3.414 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0008413/0.3152, allocations: 215.2 kB / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.3153, allocations: 0 / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.3153, allocations: 11.98 kB / 0.5616 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.3153, allocations: 0 / 0.5616 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.023e-05/0.3153, allocations: 3.984 kB / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-06/0.3153, allocations: 0 / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.3157, allocations: 219.6 kB / 0.5618 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.3158, allocations: 3.984 kB / 0.5618 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.3158, allocations: 7.875 kB / 0.5619 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.316, allocations: 153.5 kB / 0.562 GB, free: 2.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.316, allocations: 0 / 0.562 GB, free: 2.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.316, allocations: 3.938 kB / 0.562 GB, free: 2.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.316, allocations: 0 / 0.562 GB, free: 2.812 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.0003636/0.3164, allocations: 295.9 kB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3164, allocations: 8.031 kB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.3165, allocations: 30.75 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.3165, allocations: 4.938 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.3166, allocations: 114.5 kB / 0.5624 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.3166, allocations: 384 / 0.5624 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.3166, allocations: 384 / 0.5624 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.815e-05/0.3167, allocations: 55.97 kB / 0.5625 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3167, allocations: 3.938 kB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.3167, allocations: 0 / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3167, allocations: 4 kB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.3167, allocations: 29.7 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.3169, allocations: 116.8 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.3169, allocations: 52.25 kB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.3169, allocations: 30.56 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.317, allocations: 0 / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.317, allocations: 60.33 kB / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.317, allocations: 0 / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001945/0.3172, allocations: 126.7 kB / 0.5629 GB, free: 1.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.3172, allocations: 77.11 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.3173, allocations: 97.92 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3173, allocations: 25.7 kB / 0.5631 GB, free: 1.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.3173, allocations: 84.14 kB / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3174, allocations: 0 / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3174, allocations: 13.66 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3175, allocations: 322.8 kB / 0.5635 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.3176, allocations: 25.7 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.3176, allocations: 25.7 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.3176, allocations: 60.27 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3176, allocations: 0 / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.074e-05/0.3177, allocations: 97.16 kB / 0.5637 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.3178, allocations: 33.7 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3178, allocations: 7.922 kB / 0.5637 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3178, allocations: 0 / 0.5637 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3178, allocations: 3.938 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3178, allocations: 0 / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.3178, allocations: 0 / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3178, allocations: 3.938 kB / 0.5637 GB, free: 0.7383 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.777e-05/0.3179, allocations: 135.5 kB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.3179, allocations: 4.016 kB / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.3179, allocations: 10.94 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3179, allocations: 0 / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3179, allocations: 4 kB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3179, allocations: 0 / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.719e-05/0.318, allocations: 112.8 kB / 0.564 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.318, allocations: 0 / 0.564 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.318, allocations: 0 / 0.564 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.318, allocations: 0 / 0.564 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.318, allocations: 15.94 kB / 0.564 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.318, allocations: 3.984 kB / 0.564 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.318, allocations: 0 / 0.564 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.3181, allocations: 116.5 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.3182, allocations: 7.922 kB / 0.5641 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3182, allocations: 3.938 kB / 0.5641 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.3182, allocations: 4 kB / 0.5641 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.3182, allocations: 0 / 0.5641 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3182, allocations: 0 / 0.5641 GB, free: 244 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.3182, allocations: 75.28 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3182, allocations: 0 / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3185, allocations: 51.88 kB / 0.5643 GB, free: 116 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.0007417/0.3192, allocations: 0.7526 MB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.3194, allocations: 118.7 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3194, allocations: 0 / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.3194, allocations: 81.11 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.3195, allocations: 4 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.3199, allocations: 156.3 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.3199, allocations: 55.52 kB / 0.5654 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.1e-06/0.3199, allocations: 4 kB / 0.5654 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.3199, allocations: 7.438 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3199, allocations: 0 / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3462, allocations: 3.007 MB / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.9, allocations: 0 / 0.5683 GB, free: 11.92 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 13.647687941993354]