Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 111.8 kB / 18.5 MB, free: 4.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 194.7 kB / 21.44 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 249.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] 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.2979/0.2979, allocations: 44.92 MB / 349.6 MB, free: 1.762 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.05 kB / 491.8 MB, free: 30.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1356, allocations: 64.26 MB / 0.5431 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003371/0.139, allocations: 1.666 MB / 0.5447 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1405, allocations: 0.869 MB / 0.5456 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.1406, allocations: 0 / 0.5456 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1409, allocations: 59.78 kB / 0.5456 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.1411, allocations: 67.67 kB / 0.5457 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.1414, allocations: 111.2 kB / 0.5458 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1416, allocations: 91.7 kB / 0.5459 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1416, allocations: 11.92 kB / 0.5459 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.1417, allocations: 47.77 kB / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1418, allocations: 47.78 kB / 0.546 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1418, allocations: 7.984 kB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.1419, allocations: 31.98 kB / 0.546 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.142, allocations: 19.92 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.142, allocations: 27.81 kB / 0.5461 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1422, allocations: 103.8 kB / 0.5462 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1422, allocations: 0 / 0.5462 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1422, allocations: 0 / 0.5462 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1422, allocations: 3.938 kB / 0.5462 GB, free: 0.875 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005313/0.1427, allocations: 402.8 kB / 0.5465 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1428, allocations: 12.03 kB / 0.5465 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.1428, allocations: 34.75 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1429, allocations: 12.89 kB / 0.5466 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1432, allocations: 212.1 kB / 0.5468 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1432, allocations: 384 / 0.5468 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1432, allocations: 7.938 kB / 0.5468 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1434, allocations: 45.67 kB / 0.5468 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1434, allocations: 3.938 kB / 0.5469 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1434, allocations: 4 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1434, allocations: 0 / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-05/0.1435, allocations: 15.98 kB / 0.5469 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.1437, allocations: 185.7 kB / 0.547 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1438, allocations: 46.56 kB / 0.5471 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.1439, allocations: 20.84 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1439, allocations: 0 / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.1441, allocations: 75.33 kB / 0.5472 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1441, allocations: 0 / 0.5472 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002933/0.1444, allocations: 93.58 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1444, allocations: 51.41 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1446, allocations: 190.2 kB / 0.5475 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1446, allocations: 25.7 kB / 0.5475 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.1447, allocations: 100.1 kB / 0.5476 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1447, allocations: 19.91 kB / 0.5476 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.1448, allocations: 21.72 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1449, allocations: 322.8 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.145, allocations: 19.92 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.145, allocations: 25.72 kB / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.391e-05/0.1451, allocations: 41.72 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1451, allocations: 7.938 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001596/0.1453, allocations: 81.56 kB / 0.5481 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1453, allocations: 7.938 kB / 0.5481 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1453, allocations: 0 / 0.5481 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1453, allocations: 4 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.1454, allocations: 12 kB / 0.5482 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1454, allocations: 0 / 0.5482 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.1454, allocations: 4 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1454, allocations: 3.984 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.807e-05/0.1455, allocations: 125.8 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.1456, allocations: 23.78 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.1456, allocations: 20.28 kB / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1456, allocations: 0 / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1456, allocations: 320 / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1456, allocations: 0 / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1458, allocations: 189.5 kB / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1458, allocations: 4 kB / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.1458, allocations: 4 kB / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1458, allocations: 4 kB / 0.5485 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1458, allocations: 3.984 kB / 0.5485 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1458, allocations: 0 / 0.5485 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1458, allocations: 0 / 0.5485 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.146, allocations: 117 kB / 0.5486 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.146, allocations: 81.06 kB / 0.5487 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1461, allocations: 0 / 0.5487 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.1461, allocations: 4 kB / 0.5487 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1461, allocations: 7.984 kB / 0.5487 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1461, allocations: 7.938 kB / 0.5487 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1463, allocations: 140.1 kB / 0.5489 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1463, allocations: 0 / 0.5489 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1465, allocations: 19.98 kB / 0.5489 GB, free: 13.72 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001827/0.1483, allocations: 0.9627 MB / 0.5498 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1485, allocations: 43.92 kB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1485, allocations: 0 / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.694e-05/0.1485, allocations: 12 kB / 0.5499 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1488, allocations: 25.86 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1504, allocations: 1.481 MB / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1507, allocations: 0.6963 MB / 0.552 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.089e-05/0.1508, allocations: 16.53 kB / 0.5521 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.1509, allocations: 27.42 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1509, allocations: 3.938 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.1774, allocations: 3.101 MB / 0.5551 GB, free: 7.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.109, allocations: 7.938 kB / 0.5551 GB, free: 7.414 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 11.382639850955456]