Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.00154/0.00154, allocations: 118.1 kB / 18.5 MB, free: 4.434 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.001344/0.001344, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.711 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.231/0.231, allocations: 44.91 MB / 349.6 MB, free: 1.73 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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 66.88 kB / 491.9 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1426, allocations: 64.26 MB / 0.5431 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003332/0.1459, allocations: 1.714 MB / 0.5448 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1476, allocations: 0.8963 MB / 0.5456 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.1477, allocations: 0 / 0.5456 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.148, allocations: 31.77 kB / 0.5457 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1482, allocations: 55.77 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1485, allocations: 111.6 kB / 0.5458 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1487, allocations: 95.7 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1488, allocations: 16.5 kB / 0.5459 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1489, allocations: 39.78 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.149, allocations: 35.78 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.149, allocations: 4 kB / 0.546 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1491, allocations: 43.98 kB / 0.5461 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.1492, allocations: 19.92 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1492, allocations: 35.73 kB / 0.5461 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1495, allocations: 111.5 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1495, allocations: 0 / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1495, allocations: 8 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1495, allocations: 0 / 0.5462 GB, free: 0.7852 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.0008283/0.1503, allocations: 422.6 kB / 0.5466 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1503, allocations: 8.031 kB / 0.5466 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.1504, allocations: 30.75 kB / 0.5467 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.1504, allocations: 16.89 kB / 0.5467 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.1509, allocations: 200.2 kB / 0.5469 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1509, allocations: 4.375 kB / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1509, allocations: 3.938 kB / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1511, allocations: 57.75 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1511, allocations: 4 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1511, allocations: 0 / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1511, allocations: 3.938 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.1512, allocations: 27.92 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.1517, allocations: 288.8 kB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1519, allocations: 54.67 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1519, allocations: 16.86 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.152, allocations: 0 / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1521, allocations: 71.33 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1521, allocations: 0 / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.1527, allocations: 181.5 kB / 0.5475 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1527, allocations: 51.41 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1529, allocations: 194.1 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1529, allocations: 29.7 kB / 0.5478 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.153, allocations: 100.1 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.1531, allocations: 23.8 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1531, allocations: 25.7 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1532, allocations: 322.8 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.1533, allocations: 20 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.1534, allocations: 37.7 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1535, allocations: 65.62 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1535, allocations: 0 / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.1537, allocations: 101.5 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1537, allocations: 7.984 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1537, allocations: 4.031 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1537, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.1538, allocations: 15.94 kB / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1538, allocations: 0 / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.1539, allocations: 11.94 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1539, allocations: 3.984 kB / 0.5485 GB, free: 14.18 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.0001211/0.154, allocations: 121.8 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.154, allocations: 11.91 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.1541, allocations: 16.86 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1541, allocations: 4 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1541, allocations: 0 / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1541, allocations: 7.938 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.1546, allocations: 391.3 kB / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1546, allocations: 0 / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1546, allocations: 16.11 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1546, allocations: 3.938 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1546, allocations: 11.92 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1546, allocations: 4.031 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1546, allocations: 0 / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1548, allocations: 196.3 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.1549, allocations: 89.02 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1549, allocations: 7.938 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.155, allocations: 7.984 kB / 0.5494 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.1551, allocations: 8 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1551, allocations: 7.938 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1552, allocations: 144 kB / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1552, allocations: 0 / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1555, 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.002379/0.1579, allocations: 1.098 MB / 0.5506 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1581, allocations: 51.92 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1581, allocations: 4.062 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.1581, 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.0003491/0.1585, allocations: 31.48 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.002039/0.1605, allocations: 1.631 MB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.161, allocations: 0.7118 MB / 0.553 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.161, allocations: 8.891 kB / 0.553 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.1611, allocations: 31.42 kB / 0.553 GB, free: 9.477 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1611, allocations: 0 / 0.553 GB, free: 9.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1874, allocations: 3.394 MB / 0.5564 GB, free: 6.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.022, allocations: 22.94 kB / 0.5564 GB, free: 6.102 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.27642819378525]