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.001794/0.001794, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.002353/0.002353, allocations: 165.3 kB / 24.27 MB, free: 144 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.601/1.601, allocations: 177.2 MB / 204.6 MB, free: 5.609 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.3764/0.3764, allocations: 34.26 MB / 295.3 MB, free: 0.6719 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 2.114e-06/2.114e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.035e-05, allocations: 6.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00157/0.001601, allocations: 493.1 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.002533, allocations: 382.9 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.262e-05/0.002546, allocations: 0 / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.041e-05/0.002556, allocations: 4 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.668e-06/0.002561, allocations: 0 / 378.1 MB, free: 2.125 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.0008816/0.003442, allocations: 207.4 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.983e-05/0.003482, allocations: 4 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.93e-05/0.003512, allocations: 3.984 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.003534, allocations: 0 / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.198e-05/0.003555, allocations: 4 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-06/0.003563, allocations: 3.938 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.004006, allocations: 223.5 kB / 378.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.004014, allocations: 0 / 378.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.004039, allocations: 8 kB / 378.6 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.004337, allocations: 175.5 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.004342, allocations: 7.938 kB / 378.8 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004343, allocations: 0 / 378.8 MB, free: 1.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.004346, allocations: 0 / 378.8 MB, free: 1.5 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.0004044/0.004751, allocations: 291.9 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.004785, allocations: 12.03 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.004824, allocations: 0.9375 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.004925, allocations: 101.8 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.00494, allocations: 4.375 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.004947, allocations: 384 / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.005057, allocations: 67.95 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.005064, allocations: 192 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005072, allocations: 384 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.005076, allocations: 384 / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.005111, allocations: 29.64 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.005245, allocations: 101.3 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.005309, allocations: 40.28 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.005342, allocations: 34.66 kB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.00535, allocations: 0 / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.005412, allocations: 64.25 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.005413, allocations: 4 kB / 379.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002333/0.005647, allocations: 122.7 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.005711, allocations: 77.11 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.005779, allocations: 97.84 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.005797, allocations: 25.7 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.005845, allocations: 80.14 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.005859, allocations: 0 / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.005889, allocations: 13.72 kB / 379.9 MB, free: 140 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.006094, allocations: 314.8 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.006123, allocations: 29.7 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.006144, allocations: 29.83 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.006213, allocations: 64.27 kB / 380.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.006223, allocations: 3.984 kB / 380.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001014/0.006324, allocations: 89.05 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.00636, allocations: 29.7 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006363, allocations: 0 / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.006379, allocations: 0 / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.006379, allocations: 0 / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.006383, allocations: 7.938 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.006413, allocations: 11.97 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006418, allocations: 4 kB / 380.5 MB, free: 15.5 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.0001111/0.00653, allocations: 139.5 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.006538, allocations: 0 / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-06/0.006546, allocations: 3 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.006549, allocations: 4 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006553, allocations: 0 / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.006557, allocations: 4 kB / 380.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.37e-05/0.00665, allocations: 101.2 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006651, allocations: 0 / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.006652, allocations: 0 / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006653, allocations: 4 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.006658, allocations: 0 / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006659, allocations: 4 kB / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00666, allocations: 0 / 380.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.006802, allocations: 124.4 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.006805, allocations: 0 / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.006815, allocations: 0 / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/0.006832, allocations: 7.984 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.006846, allocations: 0 / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.006848, allocations: 0 / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.00689, allocations: 79.31 kB / 380.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00689, allocations: 0 / 380.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.007181, allocations: 55.86 kB / 381 MB, free: 14.91 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.0004667/0.007648, allocations: 201.6 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.007787, allocations: 122.7 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.007789, allocations: 0 / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.007855, allocations: 81.05 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.00798, allocations: 8.125 kB / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.008199, allocations: 112 kB / 381.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.008266, allocations: 55.36 kB / 381.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.929e-06/0.008271, allocations: 0 / 381.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.008284, allocations: 8.5 kB / 381.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.008285, allocations: 0 / 381.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of Templates: time 0.004899/0.01318, allocations: 1.599 MB / 383.2 MB, free: 12.64 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=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/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.9550533519359306]