Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001678/0.001678, allocations: 118.1 kB / 18.5 MB, free: 4.582 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.00219/0.00219, allocations: 189.2 kB / 21.44 MB, free: 1.645 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.496/1.496, allocations: 225.6 MB / 249.8 MB, free: 3.734 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.2243/0.2243, allocations: 44.92 MB / 349.6 MB, free: 1.734 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 66.53 kB / 491.9 MB, free: 30.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1371, allocations: 64.26 MB / 0.5431 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003242/0.1404, allocations: 1.707 MB / 0.5448 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1419, allocations: 0.8924 MB / 0.5456 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.142, allocations: 0 / 0.5456 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1423, allocations: 43.75 kB / 0.5457 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1425, allocations: 51.77 kB / 0.5457 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1428, allocations: 111.6 kB / 0.5458 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.143, allocations: 99.69 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.1431, allocations: 8.5 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.1431, allocations: 39.8 kB / 0.546 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.1432, allocations: 39.77 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1432, allocations: 4 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.1433, allocations: 43.98 kB / 0.546 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.1434, allocations: 23.92 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.1435, allocations: 31.75 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1437, allocations: 111.5 kB / 0.5462 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1437, allocations: 4 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1437, allocations: 0 / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1437, allocations: 0 / 0.5462 GB, free: 0.793 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006789/0.1444, allocations: 418.7 kB / 0.5466 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1444, allocations: 12.03 kB / 0.5466 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.1444, allocations: 38.69 kB / 0.5467 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1445, allocations: 8.891 kB / 0.5467 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1448, allocations: 212.2 kB / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1448, allocations: 384 / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1448, allocations: 11.94 kB / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.145, allocations: 53.67 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.145, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.145, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.145, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.1451, allocations: 23.92 kB / 0.547 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1455, allocations: 284.8 kB / 0.5472 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1457, allocations: 62.67 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1457, allocations: 12.86 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1458, allocations: 7.938 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1459, allocations: 71.31 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1459, allocations: 0 / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.1465, allocations: 185.3 kB / 0.5476 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.1466, allocations: 55.41 kB / 0.5476 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1468, allocations: 190.1 kB / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1468, allocations: 25.7 kB / 0.5478 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1469, allocations: 108.1 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1469, allocations: 15.8 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.1469, allocations: 29.7 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1471, allocations: 322.8 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.1472, allocations: 24 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.1472, allocations: 33.7 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1474, allocations: 61.64 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1474, allocations: 0 / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.1475, allocations: 101.6 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1476, allocations: 7.938 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1476, allocations: 8.031 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1476, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.1477, allocations: 12.38 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1477, allocations: 0 / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.1477, allocations: 15.86 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1477, allocations: 8 kB / 0.5485 GB, free: 14.17 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 (10): * Single equations (assignments): 10 * 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 0.0001262/0.1479, allocations: 121.8 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1479, allocations: 11.91 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.1479, allocations: 20.7 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1479, allocations: 4 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1479, allocations: 0 / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1479, allocations: 3.938 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.1484, allocations: 387.3 kB / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1484, allocations: 4 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1484, allocations: 11.92 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1484, allocations: 7.938 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1484, allocations: 0 / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1484, allocations: 4.031 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1484, allocations: 4 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1487, allocations: 200.5 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.1487, allocations: 85.02 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1488, allocations: 11.88 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1488, allocations: 7.984 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.1489, allocations: 8 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1489, allocations: 4 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.149, allocations: 148 kB / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.149, allocations: 0 / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1492, allocations: 20 kB / 0.5495 GB, free: 13.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002176/0.1514, allocations: 1.097 MB / 0.5506 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1516, allocations: 55.92 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1516, allocations: 4.062 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.1517, allocations: 27.92 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.152, allocations: 31.34 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1539, allocations: 1.627 MB / 0.5523 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1542, allocations: 0.7041 MB / 0.553 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.1543, allocations: 21.17 kB / 0.553 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.1543, allocations: 35.42 kB / 0.5531 GB, free: 9.473 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1543, allocations: 0 / 0.5531 GB, free: 9.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.1779, allocations: 3.389 MB / 0.5564 GB, free: 6.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.004, allocations: 23.86 kB / 0.5564 GB, free: 6.098 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.210745321121067]