Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001419/0.001419, allocations: 119 kB / 18.5 MB, free: 4.566 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.001313/0.001313, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.435/1.435, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.2163/0.2163, allocations: 44.91 MB / 349.6 MB, free: 1.73 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 64.41 kB / 491.8 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1218, allocations: 64.26 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003109/0.1249, allocations: 1.564 MB / 0.5446 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1267, allocations: 1.047 MB / 0.5456 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.1267, allocations: 0 / 0.5456 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.127, allocations: 23.84 kB / 0.5456 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1272, allocations: 43.78 kB / 0.5456 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.1275, allocations: 103.7 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1276, allocations: 59.83 kB / 0.5458 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1277, allocations: 11.94 kB / 0.5458 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.1278, allocations: 23.86 kB / 0.5458 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1279, allocations: 34.86 kB / 0.5459 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.128, allocations: 4 kB / 0.5459 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1281, allocations: 51.97 kB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1281, allocations: 15.92 kB / 0.5459 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.1282, allocations: 15.88 kB / 0.5459 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1284, allocations: 83.66 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1284, allocations: 4 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1284, allocations: 0 / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1284, allocations: 0 / 0.546 GB, free: 1.004 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005317/0.1289, allocations: 383 kB / 0.5464 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1289, allocations: 12.03 kB / 0.5464 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.129, allocations: 30.75 kB / 0.5464 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.129, allocations: 8.891 kB / 0.5464 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1292, allocations: 188.3 kB / 0.5466 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1293, allocations: 384 / 0.5466 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1293, allocations: 8.375 kB / 0.5466 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1294, allocations: 67.27 kB / 0.5467 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1295, allocations: 3.953 kB / 0.5467 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1295, allocations: 8 kB / 0.5467 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1295, allocations: 3.938 kB / 0.5467 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.1296, allocations: 23.98 kB / 0.5467 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.13, allocations: 276.9 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1302, allocations: 46.5 kB / 0.547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.1303, allocations: 16.94 kB / 0.5471 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1303, allocations: 4 kB / 0.5471 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1303, allocations: 38.55 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1303, allocations: 0 / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006245/0.131, allocations: 141.4 kB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.1311, allocations: 89.09 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1313, allocations: 133.5 kB / 0.5474 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1313, allocations: 29.7 kB / 0.5475 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.1314, allocations: 92.12 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1315, allocations: 15.91 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.1315, allocations: 13.72 kB / 0.5476 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1317, allocations: 322.8 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.1317, allocations: 19.98 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.1318, allocations: 45.88 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1319, allocations: 56.7 kB / 0.548 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1319, allocations: 4 kB / 0.548 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000186/0.1321, allocations: 81.62 kB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1322, allocations: 4 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1322, allocations: 4.031 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1322, allocations: 3.984 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.1322, allocations: 12 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1322, allocations: 0 / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.1323, allocations: 11.92 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1323, allocations: 7.938 kB / 0.5481 GB, free: 14.59 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.045e-05/0.1324, allocations: 113.8 kB / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1324, allocations: 7.953 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.1328, allocations: 101.5 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1328, allocations: 4 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1328, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1328, allocations: 0 / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.1332, allocations: 358.4 kB / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1332, allocations: 0 / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.1333, allocations: 11.98 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1333, allocations: 4 kB / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.1333, allocations: 0 / 0.5487 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1333, allocations: 8.125 kB / 0.5487 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1333, allocations: 4 kB / 0.5487 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1335, allocations: 175.5 kB / 0.5489 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/0.1336, allocations: 89 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1337, allocations: 0 / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.1337, allocations: 15.94 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1338, allocations: 7.922 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1338, allocations: 4 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.334e-05/0.1338, allocations: 103.3 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1338, allocations: 4 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1341, allocations: 23.92 kB / 0.5491 GB, free: 13.46 MB / 414.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.002138/0.1362, allocations: 1.042 MB / 0.5501 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1365, allocations: 59.89 kB / 0.5502 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1365, allocations: 0 / 0.5502 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1366, allocations: 23.98 kB / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.137, allocations: 23.86 kB / 0.5502 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1387, allocations: 1.407 MB / 0.5516 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1391, allocations: 0.7 MB / 0.5523 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.844e-05/0.1391, allocations: 16.05 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.1392, allocations: 27.42 kB / 0.5523 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1392, allocations: 0 / 0.5523 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.1672, allocations: 2.794 MB / 0.5551 GB, free: 7.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.059, allocations: 1.172 kB / 0.5551 GB, free: 7.43 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.04775876691565]