Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 111.8 kB / 18.5 MB, free: 4.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 194.7 kB / 21.44 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 249.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2359/0.2359, allocations: 44.92 MB / 349.6 MB, free: 1.762 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 72.19 kB / 491.8 MB, free: 30.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1208, allocations: 64.25 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00298/0.1238, allocations: 1.585 MB / 0.5446 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.1246, allocations: 423.1 kB / 0.545 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.1246, allocations: 0 / 0.545 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.1249, allocations: 79.7 kB / 0.5451 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.1251, allocations: 63.8 kB / 0.5451 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1254, allocations: 115.1 kB / 0.5452 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1256, allocations: 71.86 kB / 0.5453 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.1257, allocations: 16.12 kB / 0.5453 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.1258, allocations: 43.83 kB / 0.5454 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1259, allocations: 51.83 kB / 0.5454 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1259, allocations: 4 kB / 0.5454 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.126, allocations: 51.91 kB / 0.5455 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1261, allocations: 19.92 kB / 0.5455 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.1261, allocations: 31.73 kB / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1263, allocations: 99.58 kB / 0.5456 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1263, allocations: 0 / 0.5456 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1263, allocations: 0 / 0.5456 GB, free: 1.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1263, allocations: 0 / 0.5456 GB, free: 1.445 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000533/0.1268, allocations: 414.8 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1269, allocations: 8.031 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.1269, allocations: 38.73 kB / 0.546 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.127, allocations: 12.83 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1272, allocations: 196.2 kB / 0.5462 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.1272, allocations: 384 / 0.5462 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1272, allocations: 12.12 kB / 0.5462 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1273, allocations: 53.67 kB / 0.5463 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1274, allocations: 0 / 0.5463 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1274, allocations: 8 kB / 0.5463 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1274, allocations: 0 / 0.5463 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.1275, allocations: 27.97 kB / 0.5463 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.1279, allocations: 300.7 kB / 0.5466 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.128, allocations: 42.56 kB / 0.5467 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1281, allocations: 24.88 kB / 0.5467 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1281, allocations: 0 / 0.5467 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1281, allocations: 34.56 kB / 0.5467 GB, free: 128 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1281, allocations: 3.938 kB / 0.5467 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008988/0.129, allocations: 241.2 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1291, allocations: 55.34 kB / 0.547 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1293, allocations: 206.2 kB / 0.5472 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1293, allocations: 29.64 kB / 0.5472 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.1294, allocations: 108.1 kB / 0.5473 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1294, allocations: 27.73 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1295, allocations: 21.72 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1296, allocations: 326.8 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.1297, allocations: 23.98 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.1298, allocations: 31.97 kB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1299, allocations: 72.81 kB / 0.5478 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1299, allocations: 4 kB / 0.5478 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000215/0.1301, allocations: 110 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1302, allocations: 12 kB / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1302, allocations: 0 / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1302, allocations: 0 / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1303, allocations: 15.98 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1303, allocations: 4.25 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.1303, allocations: 4 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1303, allocations: 4 kB / 0.548 GB, free: 14.79 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 (8): * Single equations (assignments): 8 * 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.1305, allocations: 125.8 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1305, allocations: 23.89 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.1308, allocations: 134.2 kB / 0.5482 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1308, allocations: 4 kB / 0.5482 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1308, allocations: 3.938 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1308, allocations: 0 / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.1314, allocations: 419.2 kB / 0.5486 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1314, allocations: 11.91 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.1315, allocations: 15.98 kB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1315, allocations: 0 / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1315, allocations: 12 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1315, allocations: 0 / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1315, allocations: 0 / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1318, allocations: 216.2 kB / 0.5489 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.1318, allocations: 89 kB / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1319, allocations: 0 / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1319, allocations: 7.984 kB / 0.549 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.132, allocations: 8 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.132, allocations: 4 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1321, allocations: 156.1 kB / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1321, allocations: 0 / 0.5491 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1324, allocations: 16 kB / 0.5492 GB, free: 13.45 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002137/0.1345, allocations: 1.113 MB / 0.5502 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1348, allocations: 75.88 kB / 0.5503 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1348, allocations: 0 / 0.5503 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.1349, allocations: 35.97 kB / 0.5503 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.1353, allocations: 29.98 kB / 0.5504 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1373, allocations: 1.679 MB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1377, allocations: 0.7117 MB / 0.5527 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.581e-05/0.1377, allocations: 20.66 kB / 0.5527 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.1378, allocations: 31.42 kB / 0.5528 GB, free: 9.812 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1378, allocations: 0 / 0.5528 GB, free: 9.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.1608, allocations: 3.1 MB / 0.5558 GB, free: 6.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/7.91, allocations: 6.172 kB / 0.5558 GB, free: 6.738 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.089763766154647]