Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 117.2 kB / 19.13 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 206.6 kB / 22.08 MB, free: 0.9961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 252.3 MB, free: 112 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 46.17 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 81.8 kB / 490.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.118, allocations: 62.45 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001601/0.1196, allocations: 498.7 kB / 0.5408 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.1205, allocations: 363.3 kB / 0.5411 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.1206, allocations: 0 / 0.5411 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1206, allocations: 0 / 0.5411 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.195e-06/0.1206, allocations: 0 / 0.5411 GB, free: 3.434 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008411/0.1215, allocations: 207.5 kB / 0.5413 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.1215, allocations: 0 / 0.5413 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.1216, allocations: 7.938 kB / 0.5414 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.1216, allocations: 4 kB / 0.5414 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.48e-05/0.1216, allocations: 0 / 0.5414 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-06/0.1216, allocations: 0 / 0.5414 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.122, allocations: 191.7 kB / 0.5415 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.122, allocations: 0 / 0.5415 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.1221, allocations: 4 kB / 0.5415 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1223, allocations: 147.6 kB / 0.5417 GB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1223, allocations: 0 / 0.5417 GB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1223, allocations: 0 / 0.5417 GB, free: 2.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1223, allocations: 3.938 kB / 0.5417 GB, free: 2.879 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.0004184/0.1228, allocations: 376 kB / 0.542 GB, free: 2.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1228, allocations: 11.97 kB / 0.5421 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.1228, allocations: 0.9375 kB / 0.5421 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.123, allocations: 160.4 kB / 0.5422 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.123, allocations: 4.375 kB / 0.5422 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.123, allocations: 384 / 0.5422 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.1231, allocations: 34.25 kB / 0.5423 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1231, allocations: 4.125 kB / 0.5423 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1231, allocations: 7.938 kB / 0.5423 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1232, allocations: 4 kB / 0.5423 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.1232, allocations: 0 / 0.5423 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.1233, allocations: 145.7 kB / 0.5424 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.1234, allocations: 18.61 kB / 0.5424 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.1234, allocations: 4.859 kB / 0.5424 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1234, allocations: 0 / 0.5424 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.1235, allocations: 64.31 kB / 0.5425 GB, free: 1.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1235, allocations: 4 kB / 0.5425 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.1237, allocations: 71.23 kB / 0.5426 GB, free: 1.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.1237, allocations: 81.11 kB / 0.5426 GB, free: 1.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.1238, allocations: 89.86 kB / 0.5427 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1238, allocations: 25.7 kB / 0.5427 GB, free: 1.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.1238, allocations: 80.14 kB / 0.5428 GB, free: 1.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1239, allocations: 3.984 kB / 0.5428 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1239, allocations: 17.7 kB / 0.5428 GB, free: 1.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.124, allocations: 315 kB / 0.5431 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.1241, allocations: 7.938 kB / 0.5432 GB, free: 1.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.1241, allocations: 0 / 0.5432 GB, free: 1.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.1241, allocations: 64.2 kB / 0.5432 GB, free: 1.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1241, allocations: 0 / 0.5432 GB, free: 1.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.059e-05/0.1242, allocations: 63.39 kB / 0.5433 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.1243, allocations: 29.7 kB / 0.5433 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1243, allocations: 4 kB / 0.5433 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1243, allocations: 8.031 kB / 0.5433 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1243, allocations: 0 / 0.5433 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1243, allocations: 0 / 0.5433 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.1243, allocations: 0 / 0.5433 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1243, allocations: 0 / 0.5433 GB, free: 0.9414 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.55e-05/0.1244, allocations: 139.5 kB / 0.5434 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.1245, allocations: 0 / 0.5434 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.135e-05/0.1245, allocations: 11.05 kB / 0.5435 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1245, allocations: 3.984 kB / 0.5435 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1245, allocations: 4 kB / 0.5435 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1245, allocations: 0 / 0.5435 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.1246, allocations: 153.6 kB / 0.5436 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1246, allocations: 0 / 0.5436 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1246, allocations: 0 / 0.5436 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1246, allocations: 0 / 0.5436 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1246, allocations: 7.922 kB / 0.5436 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1247, allocations: 7.938 kB / 0.5436 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1247, allocations: 4 kB / 0.5436 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.1248, allocations: 86.84 kB / 0.5437 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1248, allocations: 81.09 kB / 0.5438 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1248, allocations: 7.938 kB / 0.5438 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.1249, allocations: 0 / 0.5438 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.1249, allocations: 0 / 0.5438 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1249, allocations: 0 / 0.5438 GB, free: 348 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.1249, allocations: 75.28 kB / 0.5439 GB, free: 272 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1249, allocations: 0 / 0.5439 GB, free: 272 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1252, allocations: 47.94 kB / 0.5439 GB, free: 224 kB / 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.0004348/0.1256, allocations: 197.1 kB / 0.5441 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1258, allocations: 63.34 kB / 0.5442 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1258, allocations: 0 / 0.5442 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.1258, allocations: 59.39 kB / 0.5442 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.126, allocations: 1.969 kB / 0.5442 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.1262, allocations: 114.9 kB / 0.5443 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1264, allocations: 0.669 MB / 0.545 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.1265, allocations: 11.44 kB / 0.545 GB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1265, allocations: 3.938 kB / 0.545 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Templates: time 0.003559/0.13, allocations: 1.488 MB / 0.5465 GB, free: 13.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.793267815955915]