Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001067/0.001067, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001231/0.001231, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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 0.9874/0.9874, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1403/0.1403, allocations: 32.8 MB / 295.4 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.443e-05, allocations: 2.312 kB / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009118/0.0009263, allocations: 497 kB / 377.7 MB, free: 25.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.001502, allocations: 378.8 kB / 378.1 MB, free: 24.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.00152, allocations: 0 / 378.1 MB, free: 24.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.001534, allocations: 0 / 378.1 MB, free: 24.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.00154, allocations: 7.938 kB / 378.1 MB, free: 24.77 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0006013/0.002141, allocations: 203.4 kB / 378.3 MB, free: 24.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.754e-05/0.002188, allocations: 0 / 378.3 MB, free: 24.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.002221, allocations: 7.984 kB / 378.3 MB, free: 24.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.002242, allocations: 0 / 378.3 MB, free: 24.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.813e-05/0.00226, allocations: 4 kB / 378.3 MB, free: 24.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-06/0.002266, allocations: 0 / 378.3 MB, free: 24.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.002538, allocations: 235.4 kB / 378.6 MB, free: 24.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.002547, allocations: 0 / 378.6 MB, free: 24.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.437e-05/0.002561, allocations: 0 / 378.6 MB, free: 24.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.002733, allocations: 179.5 kB / 378.7 MB, free: 24.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002735, allocations: 0 / 378.7 MB, free: 24.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.002735, allocations: 0 / 378.7 MB, free: 24.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.00274, allocations: 0 / 378.7 MB, free: 24.15 MB / 314.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.0002289/0.002969, allocations: 397.8 kB / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.003, allocations: 11.98 kB / 379.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.003025, allocations: 12.88 kB / 379.1 MB, free: 23.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.989e-05/0.003065, allocations: 104.6 kB / 379.2 MB, free: 23.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.00308, allocations: 4.375 kB / 379.2 MB, free: 23.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-06/0.003085, allocations: 384 / 379.2 MB, free: 23.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.404e-05/0.003149, allocations: 59.95 kB / 379.3 MB, free: 23.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003157, allocations: 192 / 379.3 MB, free: 23.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.003163, allocations: 384 / 379.3 MB, free: 23.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003168, allocations: 384 / 379.3 MB, free: 23.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.003183, allocations: 33.64 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.408e-05/0.003247, allocations: 93.25 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.003288, allocations: 64.73 kB / 379.5 MB, free: 23.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.003302, allocations: 33.39 kB / 379.5 MB, free: 23.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-06/0.003305, allocations: 0 / 379.5 MB, free: 23.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.003331, allocations: 67.14 kB / 379.6 MB, free: 23.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.003332, allocations: 0 / 379.6 MB, free: 23.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.003472, allocations: 110.8 kB / 379.7 MB, free: 23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.003498, allocations: 81.05 kB / 379.8 MB, free: 22.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.889e-05/0.003527, allocations: 146.2 kB / 379.9 MB, free: 22.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.463e-06/0.003533, allocations: 29.7 kB / 379.9 MB, free: 22.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.385e-05/0.003547, allocations: 131 kB / 380.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.003565, allocations: 4 kB / 380.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.003586, allocations: 15.38 kB / 380.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.003645, allocations: 0.4883 MB / 380.6 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.003656, allocations: 25.7 kB / 380.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.003665, allocations: 25.7 kB / 380.6 MB, free: 21.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.003699, allocations: 63.09 kB / 380.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.0037, allocations: 0 / 380.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.141e-05/0.003752, allocations: 96.97 kB / 380.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.003774, allocations: 29.7 kB / 380.8 MB, free: 21.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.003779, allocations: 8.094 kB / 380.8 MB, free: 21.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.003791, allocations: 0 / 380.8 MB, free: 21.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.003793, allocations: 0 / 380.8 MB, free: 21.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.003796, allocations: 0 / 380.8 MB, free: 21.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.003808, allocations: 4.344 kB / 380.8 MB, free: 21.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.003813, allocations: 0 / 380.8 MB, free: 21.75 MB / 314.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 5.379e-05/0.003867, allocations: 194.2 kB / 381 MB, free: 21.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.003873, allocations: 0 / 381 MB, free: 21.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.017e-05/0.003883, allocations: 7 kB / 381 MB, free: 21.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.003885, allocations: 3.984 kB / 381 MB, free: 21.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.003888, allocations: 4 kB / 381 MB, free: 21.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.003891, allocations: 0 / 381 MB, free: 21.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.51e-05/0.003937, allocations: 97.16 kB / 381.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-07/0.003937, allocations: 0 / 381.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-06/0.003938, allocations: 3.984 kB / 381.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.003939, allocations: 4 kB / 381.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.003943, allocations: 0 / 381.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.003943, allocations: 0 / 381.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.003944, allocations: 0 / 381.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.717e-05/0.004011, allocations: 135.7 kB / 381.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.004016, allocations: 4 kB / 381.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.004028, allocations: 12.03 kB / 381.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-06/0.004032, allocations: 0 / 381.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.004043, allocations: 0 / 381.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.004044, allocations: 0 / 381.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.815e-05/0.004062, allocations: 123.2 kB / 381.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.004062, allocations: 0 / 381.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.004285, allocations: 55.86 kB / 381.5 MB, free: 21.04 MB / 314.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.0002875/0.004573, allocations: 199.4 kB / 381.7 MB, free: 20.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.503e-05/0.004658, allocations: 122.5 kB / 381.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.004659, allocations: 0 / 381.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.00468, allocations: 92.73 kB / 381.9 MB, free: 20.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.923e-05/0.004769, allocations: 5.656 kB / 381.9 MB, free: 20.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001499/0.004919, allocations: 119.5 kB / 382 MB, free: 20.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.159e-05/0.004941, allocations: 59.22 kB / 382 MB, free: 20.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.791e-06/0.004946, allocations: 0 / 382 MB, free: 20.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.004978, allocations: 70.2 kB / 382.1 MB, free: 20.28 MB / 314.7 MB Notification: Performance of SimCode: time 3.61e-07/0.004979, allocations: 4.125 kB / 382.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of Templates: time 0.003009/0.007988, allocations: 1.866 MB / 384 MB, free: 18.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.016718435101211]