Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001795/0.001795, allocations: 124.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.002689/0.002689, allocations: 199.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.544/1.544, 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.2442/0.2442, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 83.88 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1204, allocations: 65.97 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003391/0.1238, allocations: 1.614 MB / 0.557 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1249, allocations: 0.5417 MB / 0.5575 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.125, allocations: 11.88 kB / 0.5575 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1252, allocations: 19.86 kB / 0.5575 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.1255, allocations: 79.67 kB / 0.5576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1259, allocations: 111.2 kB / 0.5577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.126, allocations: 71.77 kB / 0.5578 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1262, allocations: 4 kB / 0.5578 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.1262, allocations: 19.92 kB / 0.5578 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.1263, allocations: 31.84 kB / 0.5578 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1263, allocations: 4 kB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.1264, allocations: 39.92 kB / 0.5579 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.1264, allocations: 11.94 kB / 0.5579 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.1265, allocations: 23.8 kB / 0.5579 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1266, allocations: 79.66 kB / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1266, allocations: 0 / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1266, allocations: 0 / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1267, allocations: 0 / 0.558 GB, free: 3.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005089/0.1272, allocations: 391 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1272, allocations: 8.031 kB / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.1272, allocations: 42.62 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1273, allocations: 8.891 kB / 0.5584 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1275, allocations: 194.1 kB / 0.5586 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1275, allocations: 4.375 kB / 0.5586 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1275, allocations: 384 / 0.5586 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1277, allocations: 49.62 kB / 0.5586 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1277, allocations: 0 / 0.5586 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1277, allocations: 4 kB / 0.5586 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1277, allocations: 4 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1278, allocations: 27.97 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.1282, allocations: 284.8 kB / 0.5589 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1284, allocations: 42.55 kB / 0.559 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1285, allocations: 16.86 kB / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1285, allocations: 4 kB / 0.559 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1285, allocations: 30.56 kB / 0.559 GB, free: 1.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1285, allocations: 0 / 0.559 GB, free: 1.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000641/0.1292, allocations: 149.5 kB / 0.5592 GB, free: 1.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1292, allocations: 55.41 kB / 0.5592 GB, free: 1.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1294, allocations: 151.7 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1294, allocations: 29.7 kB / 0.5594 GB, free: 1.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.209e-05/0.1295, allocations: 100.1 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1295, allocations: 19.8 kB / 0.5595 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.1296, allocations: 17.72 kB / 0.5595 GB, free: 1.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1298, allocations: 322.8 kB / 0.5598 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.1299, allocations: 23.92 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.1299, allocations: 23.98 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1301, allocations: 57 kB / 0.5599 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1301, allocations: 4 kB / 0.56 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.1303, allocations: 81.62 kB / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1303, allocations: 8 kB / 0.56 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1303, allocations: 0 / 0.56 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1303, allocations: 0 / 0.56 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.1304, allocations: 19.92 kB / 0.5601 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1304, allocations: 4 kB / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.1305, allocations: 7.922 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1305, allocations: 7.938 kB / 0.5601 GB, free: 0.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.666e-05/0.1306, allocations: 116 kB / 0.5602 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1306, allocations: 7.953 kB / 0.5602 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1309, allocations: 98.23 kB / 0.5603 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1309, allocations: 4 kB / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1309, allocations: 0 / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1309, allocations: 3.984 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.1314, allocations: 354.4 kB / 0.5606 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1314, allocations: 0 / 0.5606 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.1315, allocations: 15.98 kB / 0.5606 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1315, allocations: 0 / 0.5606 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1315, allocations: 0 / 0.5606 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1315, allocations: 7.938 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1315, allocations: 0 / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.1318, allocations: 187.8 kB / 0.5608 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.1318, allocations: 89.06 kB / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1319, allocations: 0 / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.1319, allocations: 11.92 kB / 0.5609 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.132, allocations: 4 kB / 0.5609 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.132, allocations: 4 kB / 0.5609 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1321, allocations: 116.8 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1321, allocations: 0 / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1323, allocations: 19.94 kB / 0.5611 GB, free: 15.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002075/0.1344, allocations: 1.021 MB / 0.5621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1346, allocations: 55.95 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1346, allocations: 0 / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.1347, allocations: 23.98 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1351, allocations: 18.42 kB / 0.5622 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.137, allocations: 1.46 MB / 0.5636 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1373, allocations: 0.6963 MB / 0.5643 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.1374, allocations: 19.83 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.1374, allocations: 27.44 kB / 0.5643 GB, free: 12.38 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1374, allocations: 4 kB / 0.5643 GB, free: 12.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1623, allocations: 2.595 MB / 0.5668 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.287, allocations: 7.312 kB / 0.5669 GB, free: 9.809 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.44590468914248]