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.0009481/0.0009481, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009251/0.0009251, allocations: 168.4 kB / 24.92 MB, free: 8.258 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.9423/0.9423, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2817/0.2817, allocations: 34.25 MB / 296.1 MB, free: 0.7227 MB / 266.7 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 1.252e-06/1.252e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.908e-05, allocations: 2.312 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00121/0.001229, allocations: 0.5089 MB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003709/0.004938, allocations: 387.4 kB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.004953, allocations: 0 / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.004965, allocations: 0 / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.004971, allocations: 0 / 326.1 MB, free: 6.828 MB / 298.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.0006526/0.005624, allocations: 199.4 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.005664, allocations: 4.625 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.005695, allocations: 0 / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.005719, allocations: 3.984 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.655e-05/0.005736, allocations: 8 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-06/0.005741, allocations: 3.938 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.006055, allocations: 223.5 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.006062, allocations: 0 / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.006074, allocations: 4 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.006292, allocations: 183.5 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.006293, allocations: 0 / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006294, allocations: 0 / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.006296, allocations: 0 / 326.7 MB, free: 6.211 MB / 298.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.0002387/0.006535, allocations: 262.7 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.006566, allocations: 11.97 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.006587, allocations: 4.938 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.749e-05/0.006645, allocations: 113.8 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.006654, allocations: 384 / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.006662, allocations: 384 / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.002e-05/0.006722, allocations: 59.95 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.006728, allocations: 192 / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.006734, allocations: 4.359 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.006739, allocations: 384 / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.006757, allocations: 33.64 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.968e-05/0.006817, allocations: 57.05 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.096e-05/0.006858, allocations: 52.25 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.006874, allocations: 30.56 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-06/0.006876, allocations: 0 / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.006908, allocations: 60.33 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.006908, allocations: 3.938 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000105/0.007013, allocations: 110.8 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.007048, allocations: 85.05 kB / 327.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.218e-05/0.00708, allocations: 90.55 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.00709, allocations: 25.7 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.00711, allocations: 80.14 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.007124, allocations: 4.812 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.00715, allocations: 21.7 kB / 327.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.007226, allocations: 314.8 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.00724, allocations: 25.7 kB / 328.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.007252, allocations: 29.7 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/0.01029, allocations: 64.25 kB / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.0103, allocations: 0 / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.971e-05/0.01037, allocations: 89.03 kB / 328.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.01039, allocations: 29.7 kB / 328.3 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.0104, allocations: 8.094 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01041, allocations: 0 / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-06/0.01041, allocations: 0 / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.01042, allocations: 0 / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.01043, allocations: 0 / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.01043, allocations: 0 / 328.4 MB, free: 4.316 MB / 298.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 6.461e-05/0.0105, allocations: 143.5 kB / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-06/0.0105, allocations: 0 / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.876e-06/0.01051, allocations: 7 kB / 328.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01051, allocations: 0 / 328.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01051, allocations: 0 / 328.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01052, allocations: 8 kB / 328.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.166e-05/0.01057, allocations: 62.19 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.01057, allocations: 0 / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-06/0.01057, allocations: 4 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.01057, allocations: 0 / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.01058, allocations: 7.984 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.01058, allocations: 0 / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01058, allocations: 0 / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.756e-05/0.01065, allocations: 116.4 kB / 328.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-06/0.01065, allocations: 4 kB / 328.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.01066, allocations: 7.969 kB / 328.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.01067, allocations: 0 / 328.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-06/0.01068, allocations: 0 / 328.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.01068, allocations: 4 kB / 328.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.671e-06/0.01068, allocations: 4.859 kB / 328.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01068, allocations: 0 / 328.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000223/0.01091, allocations: 55.86 kB / 328.8 MB, free: 3.836 MB / 298.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.000346/0.01125, allocations: 195.4 kB / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.662e-05/0.01135, allocations: 119.7 kB / 329.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01135, allocations: 0 / 329.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.01139, allocations: 93.91 kB / 329.2 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.869e-05/0.01144, allocations: 7.938 kB / 329.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.01159, allocations: 112.6 kB / 329.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.053e-05/0.01162, allocations: 51.36 kB / 329.3 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.889e-06/0.01163, allocations: 0 / 329.3 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.01166, allocations: 51.38 kB / 329.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01166, allocations: 4.125 kB / 329.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of Templates: time 0.006641/0.01831, allocations: 1.843 MB / 331.2 MB, free: 1.281 MB / 298.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9331666552461684]