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.001286/0.001286, allocations: 109.2 kB / 18.44 MB, free: 4.723 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.001354/0.001354, allocations: 201.8 kB / 21.39 MB, free: 1.773 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.509/1.509, allocations: 227.4 MB / 251.6 MB, free: 60 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.3016/0.3016, allocations: 46.18 MB / 351.1 MB, free: 14.27 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.002272/0.002272, allocations: 85.97 kB / 490.2 MB, free: 27.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1381, allocations: 62.45 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001692/0.1398, allocations: 486.8 kB / 0.5401 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.1407, allocations: 371.3 kB / 0.5405 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.1407, allocations: 4 kB / 0.5405 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1408, allocations: 4 kB / 0.5405 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.1408, allocations: 3.938 kB / 0.5405 GB, free: 3.391 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.0008267/0.1416, allocations: 205.6 kB / 0.5407 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.121e-05/0.1417, allocations: 0 / 0.5407 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1417, allocations: 0 / 0.5407 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.1417, allocations: 4 kB / 0.5407 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.1418, allocations: 0 / 0.5407 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-06/0.1418, allocations: 0 / 0.5407 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.1421, allocations: 191.7 kB / 0.5409 GB, free: 3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-06/0.1422, allocations: 0 / 0.5409 GB, free: 3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.1422, allocations: 8 kB / 0.5409 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1425, allocations: 147.6 kB / 0.541 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1425, allocations: 0 / 0.541 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1425, allocations: 3.938 kB / 0.541 GB, free: 2.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1425, allocations: 0 / 0.541 GB, free: 2.844 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.0004261/0.1429, allocations: 369 kB / 0.5414 GB, free: 2.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.143, allocations: 8.031 kB / 0.5414 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.143, allocations: 0.9375 kB / 0.5414 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1431, allocations: 160.4 kB / 0.5415 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1431, allocations: 8.359 kB / 0.5415 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1432, allocations: 4.375 kB / 0.5415 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1433, allocations: 34.2 kB / 0.5416 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1433, allocations: 192 / 0.5416 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1433, allocations: 3.938 kB / 0.5416 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1433, allocations: 4 kB / 0.5416 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.1433, allocations: 0 / 0.5416 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1435, allocations: 145.7 kB / 0.5417 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.1436, allocations: 30.59 kB / 0.5418 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.1436, allocations: 8.844 kB / 0.5418 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1436, allocations: 3.938 kB / 0.5418 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/0.1437, allocations: 56.27 kB / 0.5418 GB, free: 1.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1437, allocations: 0 / 0.5418 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002041/0.1439, allocations: 67.36 kB / 0.5419 GB, free: 1.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.144, allocations: 89.09 kB / 0.542 GB, free: 1.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.144, allocations: 93.98 kB / 0.5421 GB, free: 1.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.144, allocations: 25.7 kB / 0.5421 GB, free: 1.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.1441, allocations: 84.08 kB / 0.5422 GB, free: 1.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1441, allocations: 0 / 0.5422 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1442, allocations: 13.72 kB / 0.5422 GB, free: 1.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1443, allocations: 314.8 kB / 0.5425 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1443, allocations: 0 / 0.5425 GB, free: 1.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.1443, allocations: 3.938 kB / 0.5425 GB, free: 1.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.1444, allocations: 68.33 kB / 0.5425 GB, free: 1.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1444, allocations: 0 / 0.5425 GB, free: 1.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.477e-05/0.1445, allocations: 63.39 kB / 0.5426 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.1445, allocations: 29.7 kB / 0.5426 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1446, allocations: 0 / 0.5426 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1446, allocations: 3.938 kB / 0.5426 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1446, allocations: 4 kB / 0.5426 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1446, allocations: 0 / 0.5426 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.1446, allocations: 0 / 0.5426 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1446, allocations: 0 / 0.5426 GB, free: 0.9062 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 0.0001108/0.1447, allocations: 143.6 kB / 0.5428 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.1448, allocations: 4 kB / 0.5428 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.1448, allocations: 7.062 kB / 0.5428 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1448, allocations: 3.938 kB / 0.5428 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1448, allocations: 0 / 0.5428 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1448, allocations: 0 / 0.5428 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1449, allocations: 153.6 kB / 0.5429 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1449, allocations: 0 / 0.5429 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.1449, allocations: 0 / 0.5429 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.145, allocations: 4 kB / 0.5429 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.145, allocations: 3.938 kB / 0.5429 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.145, allocations: 0 / 0.5429 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.145, allocations: 0 / 0.5429 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1451, allocations: 94.81 kB / 0.543 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1451, allocations: 77.11 kB / 0.5431 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1452, allocations: 7.938 kB / 0.5431 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.1452, allocations: 0 / 0.5431 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.1452, allocations: 4.031 kB / 0.5431 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.1452, allocations: 4 kB / 0.5431 GB, free: 312 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.1453, allocations: 75.28 kB / 0.5432 GB, free: 236 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1453, allocations: 0 / 0.5432 GB, free: 236 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1455, allocations: 51.92 kB / 0.5432 GB, free: 184 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.0004634/0.146, allocations: 192.3 kB / 0.5434 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1461, allocations: 67.39 kB / 0.5435 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1462, allocations: 0 / 0.5435 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.1462, allocations: 55.41 kB / 0.5435 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.1463, allocations: 2.188 kB / 0.5436 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.1465, allocations: 81.06 kB / 0.5436 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1469, allocations: 0.6729 MB / 0.5443 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.47e-06/0.1469, allocations: 0 / 0.5443 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.1469, allocations: 11.44 kB / 0.5443 GB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1469, allocations: 4.125 kB / 0.5443 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Templates: time 0.004615/0.1515, allocations: 1.514 MB / 0.5458 GB, free: 13.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.980551745742559]