Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2485/0.2485, allocations: 46.93 MB / 357.1 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 71.89 kB / 0.491 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 65.99 MB / 0.5555 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003563/0.1339, allocations: 1.739 MB / 0.5572 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1358, allocations: 1.034 MB / 0.5582 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1359, allocations: 4 kB / 0.5582 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1363, allocations: 39.77 kB / 0.5582 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004332/0.1367, allocations: 99.59 kB / 0.5583 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.137, allocations: 79.67 kB / 0.5584 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.1373, allocations: 107.6 kB / 0.5585 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1374, allocations: 8 kB / 0.5585 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1376, allocations: 47.78 kB / 0.5585 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1377, allocations: 31.84 kB / 0.5586 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1377, allocations: 4 kB / 0.5586 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1378, allocations: 43.98 kB / 0.5586 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1379, allocations: 19.92 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.138, allocations: 43.67 kB / 0.5587 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1383, allocations: 123.4 kB / 0.5588 GB, free: 2.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1383, allocations: 4 kB / 0.5588 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1383, allocations: 0 / 0.5588 GB, free: 2.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1383, allocations: 0 / 0.5588 GB, free: 2.422 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007264/0.139, allocations: 418.7 kB / 0.5592 GB, free: 1.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.1391, allocations: 12.03 kB / 0.5592 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.1391, allocations: 30.75 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.1391, allocations: 8.891 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.1395, allocations: 223.1 kB / 0.5595 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1395, allocations: 8.312 kB / 0.5595 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1396, allocations: 3.938 kB / 0.5595 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1397, allocations: 53.67 kB / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1397, allocations: 0 / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1397, allocations: 0 / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1398, allocations: 4 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.1398, allocations: 19.92 kB / 0.5595 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1403, allocations: 300.8 kB / 0.5598 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1405, allocations: 54.61 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.1406, allocations: 20.84 kB / 0.5599 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1406, allocations: 0 / 0.5599 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1408, allocations: 75.39 kB / 0.56 GB, free: 1.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1408, allocations: 0 / 0.56 GB, free: 1.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006535/0.1414, allocations: 173.3 kB / 0.5601 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1415, allocations: 51.41 kB / 0.5602 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1417, allocations: 202.3 kB / 0.5604 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1417, allocations: 25.7 kB / 0.5604 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.1418, allocations: 104.1 kB / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1418, allocations: 23.78 kB / 0.5605 GB, free: 448 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.1419, allocations: 29.66 kB / 0.5606 GB, free: 412 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.142, allocations: 326.8 kB / 0.5609 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.1421, allocations: 20 kB / 0.5609 GB, free: 56 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.1422, allocations: 33.7 kB / 0.5609 GB, free: 16 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1423, allocations: 57.78 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1423, allocations: 0 / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.1425, allocations: 109.4 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1425, allocations: 8 kB / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1425, allocations: 0 / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1426, allocations: 0 / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.1427, allocations: 19.97 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1427, allocations: 7.938 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.1427, allocations: 3.938 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1427, allocations: 8 kB / 0.5611 GB, free: 15.79 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 (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.000126/0.1429, allocations: 130 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1429, allocations: 11.91 kB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.143, allocations: 21.39 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.143, allocations: 192 / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.143, allocations: 0 / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.143, allocations: 7.875 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.1435, allocations: 391.3 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1435, allocations: 0 / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.1436, allocations: 23.95 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.1436, allocations: 3.938 kB / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1436, allocations: 4 kB / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1436, allocations: 0 / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1436, allocations: 0 / 0.5617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1439, allocations: 196.3 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.144, allocations: 93.02 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.144, allocations: 12.31 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1441, allocations: 3.984 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.1441, allocations: 4 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1442, allocations: 12 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.1443, allocations: 144.2 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1443, allocations: 0 / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.1446, allocations: 27.92 kB / 0.5622 GB, free: 14.62 MB / 430.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.002505/0.1471, allocations: 1.103 MB / 0.5632 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1474, allocations: 55.91 kB / 0.5633 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1474, allocations: 0 / 0.5633 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.1474, allocations: 23.98 kB / 0.5633 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.1478, allocations: 31.92 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1503, allocations: 1.665 MB / 0.565 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1507, allocations: 0.708 MB / 0.5657 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.1508, allocations: 17.17 kB / 0.5657 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.1508, allocations: 35.42 kB / 0.5657 GB, free: 11.02 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1508, allocations: 0 / 0.5657 GB, free: 11.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1773, allocations: 3.482 MB / 0.5691 GB, free: 7.605 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.416, allocations: 11.94 kB / 0.5691 GB, free: 7.594 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.52828279696405]