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.001282/0.001282, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001402/0.001402, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2191/0.2191, allocations: 46.93 MB / 361.6 MB, free: 4.266 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: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 66.03 MB / 0.5619 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001583/0.3189, allocations: 497 kB / 0.5623 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.3198, allocations: 389.2 kB / 0.5627 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.3198, allocations: 7.938 kB / 0.5627 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.3198, allocations: 0 / 0.5627 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.3198, allocations: 0 / 0.5627 GB, free: 3.551 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.0008217/0.3206, allocations: 207.4 kB / 0.5629 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.3207, allocations: 8 kB / 0.5629 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.3207, allocations: 0 / 0.5629 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.3207, allocations: 4 kB / 0.5629 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.3207, allocations: 4 kB / 0.5629 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.3208, allocations: 0 / 0.5629 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.3212, allocations: 239.5 kB / 0.5631 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-06/0.3212, allocations: 4 kB / 0.5632 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.3212, allocations: 3.984 kB / 0.5632 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3215, allocations: 162 kB / 0.5633 GB, free: 2.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3215, allocations: 0 / 0.5633 GB, free: 2.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3215, allocations: 0 / 0.5633 GB, free: 2.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3215, allocations: 0 / 0.5633 GB, free: 2.938 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.0003563/0.3218, allocations: 295.9 kB / 0.5636 GB, free: 2.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3219, allocations: 12.03 kB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.3219, allocations: 0.9375 kB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.592e-05/0.322, allocations: 106.5 kB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.322, allocations: 384 / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.322, allocations: 4.375 kB / 0.5637 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.632e-05/0.3221, allocations: 26.27 kB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3221, allocations: 192 / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.3221, allocations: 7.875 kB / 0.5637 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3221, allocations: 8 kB / 0.5638 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.3221, allocations: 3.938 kB / 0.5638 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.3222, allocations: 116.8 kB / 0.5639 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.3223, allocations: 26.58 kB / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.3223, allocations: 4.859 kB / 0.5639 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.3223, allocations: 0 / 0.5639 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3223, allocations: 56.27 kB / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3223, allocations: 8.062 kB / 0.564 GB, free: 2.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001684/0.3225, allocations: 75.22 kB / 0.564 GB, free: 2.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.3226, allocations: 81.11 kB / 0.5641 GB, free: 1.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.41e-05/0.3226, allocations: 89.86 kB / 0.5642 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3226, allocations: 25.7 kB / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.3227, allocations: 80.14 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3227, allocations: 3.938 kB / 0.5643 GB, free: 1.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3227, allocations: 13.72 kB / 0.5643 GB, free: 1.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3228, allocations: 315 kB / 0.5646 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.3228, allocations: 0 / 0.5646 GB, free: 1.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.3229, allocations: 0 / 0.5646 GB, free: 1.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.3229, allocations: 68.25 kB / 0.5647 GB, free: 1.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3229, allocations: 0 / 0.5647 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.967e-05/0.323, allocations: 63.34 kB / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.323, allocations: 29.7 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.323, allocations: 0 / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.323, allocations: 12.03 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.323, allocations: 0 / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.323, allocations: 0 / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.3231, allocations: 0 / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3231, allocations: 0 / 0.5648 GB, free: 1.199 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.573e-05/0.3232, allocations: 147.5 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.3232, allocations: 0 / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.227e-05/0.3232, allocations: 6.938 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3232, allocations: 0 / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3232, allocations: 4 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3232, allocations: 0 / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.382e-05/0.3233, allocations: 120.8 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3233, allocations: 4 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.3233, allocations: 0 / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3233, allocations: 0 / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3233, allocations: 3.938 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3233, allocations: 4 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3233, allocations: 0 / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.61e-05/0.3234, allocations: 98.7 kB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.3234, allocations: 4 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3234, allocations: 3.938 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.3234, allocations: 0 / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-06/0.3234, allocations: 0 / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3234, allocations: 4 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.978e-05/0.3235, allocations: 75.28 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3235, allocations: 0 / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3237, allocations: 59.8 kB / 0.5653 GB, free: 0.5898 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.0003759/0.3241, allocations: 179.4 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.3242, allocations: 67.33 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3242, allocations: 0 / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.3242, allocations: 55.41 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.3244, allocations: 0 / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.3245, allocations: 114.8 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.3248, allocations: 0.6768 MB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.3248, allocations: 7.438 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3248, allocations: 0 / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Templates: time 0.003244/0.3281, allocations: 1.495 MB / 0.5678 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] 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: 7.604667184874415]