Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001802/0.001802, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002281/0.002281, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.564/1.564, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2622/0.2622, allocations: 46.92 MB / 357.1 MB, free: 10.27 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 0.491 GB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 65.99 MB / 0.5555 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003196/0.1322, allocations: 1.737 MB / 0.5572 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1339, allocations: 1.038 MB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.134, allocations: 4 kB / 0.5582 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1343, allocations: 43.75 kB / 0.5582 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.1346, allocations: 95.59 kB / 0.5583 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1348, allocations: 79.67 kB / 0.5584 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.135, allocations: 107.6 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.1351, allocations: 12 kB / 0.5585 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.1352, allocations: 47.8 kB / 0.5585 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.1352, allocations: 35.83 kB / 0.5586 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1353, allocations: 4 kB / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.1353, allocations: 43.98 kB / 0.5586 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1354, allocations: 19.86 kB / 0.5586 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.1355, allocations: 39.67 kB / 0.5587 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1357, allocations: 123.5 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1357, allocations: 0 / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.1357, allocations: 4 kB / 0.5588 GB, free: 2.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1357, allocations: 0 / 0.5588 GB, free: 2.246 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.0005988/0.1363, allocations: 430.6 kB / 0.5592 GB, free: 1.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1363, allocations: 12.03 kB / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1364, allocations: 30.75 kB / 0.5593 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1364, allocations: 8.891 kB / 0.5593 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1367, allocations: 224.1 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1367, allocations: 384 / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1368, allocations: 7.938 kB / 0.5595 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1369, allocations: 53.67 kB / 0.5595 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1369, allocations: 4 kB / 0.5595 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1369, allocations: 0 / 0.5595 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1369, allocations: 0 / 0.5595 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1371, allocations: 23.98 kB / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1375, allocations: 292.8 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1377, allocations: 54.62 kB / 0.5599 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.1377, allocations: 24.84 kB / 0.5599 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1378, allocations: 0 / 0.5599 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.1379, allocations: 63.39 kB / 0.56 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1379, allocations: 4 kB / 0.56 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.1385, allocations: 181.3 kB / 0.5602 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1385, allocations: 51.41 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1387, allocations: 218 kB / 0.5604 GB, free: 404 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1388, allocations: 25.7 kB / 0.5604 GB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1388, allocations: 108.1 kB / 0.5605 GB, free: 260 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1389, allocations: 23.84 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.1389, allocations: 25.66 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1391, allocations: 326.8 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.1391, allocations: 19.98 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.1392, allocations: 37.7 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1393, allocations: 57.7 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1393, allocations: 4 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.1395, allocations: 106 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1395, allocations: 7.938 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1395, allocations: 4 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1396, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.1396, allocations: 28.02 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1397, allocations: 3.938 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.1397, allocations: 7.938 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1397, allocations: 4 kB / 0.5612 GB, free: 15.58 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.0001135/0.1398, allocations: 128 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1399, allocations: 15.91 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.1399, allocations: 13.41 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1399, allocations: 3.984 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1399, allocations: 0 / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1399, allocations: 15.92 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1404, allocations: 391.3 kB / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1404, allocations: 0 / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1404, allocations: 8 kB / 0.5617 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1404, allocations: 3.938 kB / 0.5617 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1405, allocations: 3.984 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1405, allocations: 4 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1405, allocations: 0 / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1407, allocations: 208.3 kB / 0.5619 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1408, allocations: 85.06 kB / 0.562 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1408, allocations: 7.938 kB / 0.562 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1409, allocations: 7.984 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.1409, allocations: 4 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1409, allocations: 0 / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1411, allocations: 168.3 kB / 0.5622 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1411, allocations: 192 / 0.5622 GB, free: 14.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1413, allocations: 23.92 kB / 0.5622 GB, free: 14.4 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.002206/0.1435, allocations: 1.103 MB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1437, allocations: 59.89 kB / 0.5633 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1437, allocations: 0 / 0.5633 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.1438, allocations: 23.98 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1441, allocations: 34.55 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1461, allocations: 1.689 MB / 0.565 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1465, allocations: 0.7119 MB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.1465, allocations: 20.5 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/0.1466, allocations: 35.42 kB / 0.5658 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1466, allocations: 0 / 0.5658 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.1728, allocations: 3.525 MB / 0.5692 GB, free: 7.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.237, allocations: 11.88 kB / 0.5693 GB, free: 7.289 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.456108631798998]