Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001804/0.001804, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002278/0.002278, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.497/1.497, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.229/0.229, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 75.89 kB / 0.491 GB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 65.99 MB / 0.5555 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00339/0.1354, allocations: 1.745 MB / 0.5572 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1372, allocations: 1.03 MB / 0.5582 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.1373, allocations: 0 / 0.5582 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1376, allocations: 35.78 kB / 0.5582 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1379, allocations: 91.61 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1381, allocations: 83.66 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1383, allocations: 107.6 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1384, allocations: 15.98 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.1385, allocations: 43.78 kB / 0.5585 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.1386, allocations: 27.86 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1386, allocations: 4 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.1387, allocations: 47.97 kB / 0.5586 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.1387, allocations: 23.86 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.1388, allocations: 31.75 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.139, allocations: 111.5 kB / 0.5588 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.139, allocations: 4 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.139, allocations: 0 / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.139, allocations: 0 / 0.5588 GB, free: 2.336 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.0007443/0.1398, allocations: 410.8 kB / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1398, allocations: 8.031 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1399, allocations: 34.75 kB / 0.5592 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1399, allocations: 8.891 kB / 0.5592 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1402, allocations: 216.1 kB / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1402, allocations: 384 / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1402, allocations: 15.92 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1404, allocations: 57.61 kB / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1404, allocations: 0 / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1404, allocations: 0 / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1404, allocations: 0 / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.1405, allocations: 19.98 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.141, allocations: 288.8 kB / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1411, allocations: 58.62 kB / 0.5598 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.1412, allocations: 20.84 kB / 0.5599 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1412, allocations: 4 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.1414, allocations: 63.39 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1414, allocations: 0 / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005634/0.1419, allocations: 177.4 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.142, allocations: 51.41 kB / 0.5601 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1422, allocations: 172.4 kB / 0.5603 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1422, allocations: 29.7 kB / 0.5603 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.1423, allocations: 100.1 kB / 0.5604 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1423, allocations: 23.8 kB / 0.5605 GB, free: 408 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1423, allocations: 29.7 kB / 0.5605 GB, free: 372 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1425, allocations: 330.8 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.1426, allocations: 24.36 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.1426, allocations: 29.77 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1428, allocations: 53.66 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1428, allocations: 4 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.143, allocations: 109.5 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.143, allocations: 8.031 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.143, allocations: 0 / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.143, allocations: 4 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.1431, allocations: 15.94 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1431, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.1432, allocations: 11.92 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1432, allocations: 0 / 0.561 GB, free: 15.76 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.0001103/0.1433, allocations: 122.7 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1433, allocations: 7.953 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.1433, allocations: 20.7 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1433, allocations: 7.984 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1433, allocations: 0 / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1434, allocations: 7.875 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.1438, allocations: 391.3 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1438, allocations: 0 / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1439, allocations: 11.98 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1439, allocations: 7.938 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1439, allocations: 0 / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1439, allocations: 4.031 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1439, allocations: 0 / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.1442, allocations: 208.5 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.1442, allocations: 89.02 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1443, allocations: 7.938 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1444, allocations: 3.984 kB / 0.5619 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1444, allocations: 12 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1444, allocations: 4 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1446, allocations: 131.2 kB / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1446, allocations: 0 / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1448, allocations: 23.94 kB / 0.5621 GB, free: 14.61 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.002246/0.1471, allocations: 1.102 MB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1472, allocations: 51.92 kB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1472, allocations: 4.062 kB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.1473, allocations: 23.98 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1477, allocations: 27.98 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1496, allocations: 1.608 MB / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.1501, allocations: 0.7041 MB / 0.5655 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.185e-05/0.1501, allocations: 21.17 kB / 0.5655 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.1502, allocations: 31.42 kB / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1502, allocations: 0 / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.1763, allocations: 3.362 MB / 0.5688 GB, free: 7.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.256, allocations: 8.297 kB / 0.5688 GB, free: 7.77 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.29521696898155]