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.002483/0.002483, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002895/0.002895, allocations: 169.3 kB / 24.28 MB, free: 148 kB / 18.57 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.628/1.628, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3672/0.3672, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.971e-05, allocations: 5.969 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001593/0.001623, allocations: 497 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.002577, allocations: 394.8 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.00259, allocations: 0 / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.002601, allocations: 0 / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.96e-06/0.002606, allocations: 0 / 378.1 MB, free: 2.105 MB / 346.7 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.0008562/0.003462, allocations: 211.4 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.885e-05/0.003501, allocations: 0 / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.468e-05/0.003525, allocations: 0 / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.003553, allocations: 7.922 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.046e-05/0.003574, allocations: 4 kB / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-06/0.00358, allocations: 0 / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.004029, allocations: 231.5 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.004035, allocations: 0 / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.004061, allocations: 4 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.004399, allocations: 179.5 kB / 378.8 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004402, allocations: 4 kB / 378.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004403, allocations: 0 / 378.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004407, allocations: 0 / 378.8 MB, free: 1.477 MB / 346.7 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.0004475/0.004855, allocations: 393.9 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.004892, allocations: 8.031 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.004931, allocations: 4.875 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.619e-05/0.005027, allocations: 104.6 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.005044, allocations: 8.375 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.005054, allocations: 384 / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.005158, allocations: 55.97 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005167, allocations: 192 / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005173, allocations: 384 / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.005177, allocations: 384 / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.005228, allocations: 41.56 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.005367, allocations: 108.6 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.005447, allocations: 48.77 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.00548, allocations: 37.48 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.005489, allocations: 4 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.005547, allocations: 59.09 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.005548, allocations: 4 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002292/0.005777, allocations: 126.7 kB / 379.7 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.005842, allocations: 77.11 kB / 379.8 MB, free: 212 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.932e-05/0.005932, allocations: 142.2 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.005949, allocations: 25.7 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.006031, allocations: 126.9 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.006053, allocations: 4 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.00609, allocations: 23.48 kB / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.006356, allocations: 0.4883 MB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.006388, allocations: 29.7 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.006409, allocations: 25.7 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.006479, allocations: 67.09 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006481, allocations: 0 / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001014/0.006583, allocations: 93.03 kB / 380.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.00662, allocations: 35.73 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006624, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.006637, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.006638, allocations: 4.094 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006642, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.006662, allocations: 7.891 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.006668, allocations: 0 / 380.9 MB, free: 15.05 MB / 362.7 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 0.0001306/0.006799, allocations: 186.3 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.006807, allocations: 3.938 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.066e-05/0.006818, allocations: 11 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.006819, allocations: 0 / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.006822, allocations: 0 / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.006824, allocations: 0 / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.006925, allocations: 112.6 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.006928, allocations: 4 kB / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.006929, allocations: 4 kB / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.006932, allocations: 3.984 kB / 381.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.006938, allocations: 0 / 381.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006939, allocations: 0 / 381.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006939, allocations: 0 / 381.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.0071, allocations: 135.7 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-06/0.007103, allocations: 4 kB / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.007119, allocations: 3.984 kB / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-06/0.007127, allocations: 0 / 381.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.00714, allocations: 4.031 kB / 381.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007145, allocations: 4 kB / 381.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.007207, allocations: 119.2 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007207, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.007487, allocations: 55.86 kB / 381.5 MB, free: 14.33 MB / 362.7 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.0004874/0.007974, allocations: 199.4 kB / 381.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.008142, allocations: 126.5 kB / 381.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008143, allocations: 3.938 kB / 381.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.008215, allocations: 88.8 kB / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.008332, allocations: 4 kB / 381.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.008555, allocations: 121.6 kB / 382.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.00861, allocations: 55.36 kB / 382.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.97e-06/0.008615, allocations: 0 / 382.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.00863, allocations: 8.5 kB / 382.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00863, allocations: 0 / 382.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Templates: time 0.005152/0.01378, allocations: 1.593 MB / 383.7 MB, free: 12.03 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/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: 4.963396175066009]