Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001316/0.001316, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.00144/0.00144, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.472/1.472, allocations: 230.5 MB / 254 MB, free: 15.18 MB / 206.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.2313/0.2313, allocations: 46.92 MB / 357 MB, free: 10.23 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00299/0.00299, allocations: 83.88 kB / 0.491 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1384, allocations: 66.05 MB / 0.5555 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003096/0.1415, allocations: 1.69 MB / 0.5572 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1432, allocations: 1.018 MB / 0.5582 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.1432, allocations: 0 / 0.5582 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1435, allocations: 59.73 kB / 0.5582 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1438, allocations: 99.53 kB / 0.5583 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.144, allocations: 75.67 kB / 0.5584 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1442, allocations: 99.75 kB / 0.5585 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/0.1442, allocations: 8.219 kB / 0.5585 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.1443, allocations: 47.78 kB / 0.5586 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1444, allocations: 55.69 kB / 0.5586 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1444, allocations: 4 kB / 0.5586 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.1445, allocations: 32 kB / 0.5586 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.1446, allocations: 15.92 kB / 0.5587 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1446, allocations: 31.8 kB / 0.5587 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1448, allocations: 95.58 kB / 0.5588 GB, free: 2.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1448, allocations: 0 / 0.5588 GB, free: 2.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1448, allocations: 0 / 0.5588 GB, free: 2.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1448, allocations: 4 kB / 0.5588 GB, free: 2.172 MB / 414.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.0005688/0.1454, allocations: 418.7 kB / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1454, allocations: 8.031 kB / 0.5592 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1455, allocations: 34.75 kB / 0.5592 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1455, allocations: 8.891 kB / 0.5592 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.1458, allocations: 216.1 kB / 0.5594 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1458, allocations: 384 / 0.5594 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/0.1458, allocations: 384 / 0.5594 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.146, allocations: 57.8 kB / 0.5595 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.146, allocations: 0 / 0.5595 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.146, allocations: 0 / 0.5595 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.146, allocations: 3.938 kB / 0.5595 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.1461, allocations: 15.98 kB / 0.5595 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.1463, allocations: 177.7 kB / 0.5597 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.1464, allocations: 46.62 kB / 0.5597 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.1465, allocations: 24.84 kB / 0.5597 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1465, allocations: 0 / 0.5597 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1467, allocations: 71.27 kB / 0.5598 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1467, allocations: 0 / 0.5598 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002875/0.147, allocations: 97.62 kB / 0.5599 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.147, allocations: 51.41 kB / 0.56 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1472, allocations: 195.2 kB / 0.5601 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1472, allocations: 29.64 kB / 0.5602 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.1473, allocations: 100.1 kB / 0.5603 GB, free: 444 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1473, allocations: 11.95 kB / 0.5603 GB, free: 432 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1474, allocations: 13.72 kB / 0.5603 GB, free: 412 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1475, allocations: 326.8 kB / 0.5606 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.1476, allocations: 15.98 kB / 0.5606 GB, free: 60 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.1476, allocations: 29.66 kB / 0.5606 GB, free: 24 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1477, allocations: 41.7 kB / 0.5607 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1477, allocations: 4 kB / 0.5607 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001646/0.1479, allocations: 85.47 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1479, allocations: 7.938 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1479, allocations: 3.984 kB / 0.5608 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1479, allocations: 4 kB / 0.5608 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.148, allocations: 12.03 kB / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.148, allocations: 160 / 0.5608 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1481, allocations: 4 kB / 0.5608 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1481, allocations: 7.984 kB / 0.5608 GB, free: 15.84 MB / 430.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 0.0001064/0.1482, allocations: 125.8 kB / 0.5609 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1482, allocations: 11.89 kB / 0.5609 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.1482, allocations: 13 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1482, allocations: 7.938 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1482, allocations: 3.984 kB / 0.561 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1482, allocations: 4 kB / 0.561 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1484, allocations: 189.6 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1484, allocations: 3.938 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.1484, allocations: 0 / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1484, allocations: 4 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1484, allocations: 4.297 kB / 0.5612 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1484, allocations: 7.984 kB / 0.5612 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1484, allocations: 0 / 0.5612 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1486, allocations: 101.1 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1487, allocations: 96.98 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1487, allocations: 0 / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.1487, allocations: 4 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.1488, allocations: 0 / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1488, allocations: 7.984 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1489, allocations: 136.8 kB / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1489, allocations: 0 / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1491, allocations: 23.94 kB / 0.5615 GB, free: 15.02 MB / 430.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.001926/0.1511, allocations: 0.9462 MB / 0.5624 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1512, allocations: 43.91 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1512, allocations: 0 / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.944e-05/0.1513, allocations: 12 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1516, allocations: 36.03 kB / 0.5625 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1535, allocations: 1.489 MB / 0.564 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1539, allocations: 0.6963 MB / 0.5647 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.594e-05/0.154, allocations: 12.55 kB / 0.5647 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.154, allocations: 31.44 kB / 0.5647 GB, free: 11.75 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.154, allocations: 0 / 0.5647 GB, free: 11.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.1821, allocations: 3.119 MB / 0.5678 GB, free: 8.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.076, allocations: 4.641 kB / 0.5678 GB, free: 8.688 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.319052105071023]