Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001361/0.001361, allocations: 121 kB / 18.49 MB, free: 4.586 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.001958/0.001958, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.2152/0.2152, allocations: 44.91 MB / 355.8 MB, free: 12.32 MB / 286.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.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1226, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003092/0.1257, allocations: 1.617 MB / 0.554 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1267, allocations: 0.5533 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.1268, allocations: 0 / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.1271, allocations: 83.7 kB / 0.5547 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1274, allocations: 99.62 kB / 0.5548 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1277, allocations: 115.2 kB / 0.5549 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1279, allocations: 83.75 kB / 0.5549 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.128, allocations: 23.92 kB / 0.555 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.1281, allocations: 31.91 kB / 0.555 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1282, allocations: 71.67 kB / 0.5551 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1282, allocations: 4 kB / 0.5551 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1283, allocations: 43.98 kB / 0.5551 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1284, allocations: 23.91 kB / 0.5551 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1284, allocations: 27.75 kB / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1286, allocations: 103.6 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1286, allocations: 0 / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1286, allocations: 4 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1286, allocations: 0 / 0.5553 GB, free: 7.227 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005458/0.1292, allocations: 422.6 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1292, allocations: 12.03 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.207e-05/0.1292, allocations: 192 / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.1293, allocations: 34.75 kB / 0.5557 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.1293, allocations: 16.84 kB / 0.5557 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1295, allocations: 203.2 kB / 0.5559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1295, allocations: 384 / 0.5559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1295, allocations: 16.06 kB / 0.5559 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1297, allocations: 61.66 kB / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1297, allocations: 0 / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1297, allocations: 0 / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1297, allocations: 0 / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1298, allocations: 31.91 kB / 0.556 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1303, allocations: 300.8 kB / 0.5563 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1304, allocations: 46.56 kB / 0.5564 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1304, allocations: 16.94 kB / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1305, allocations: 3.938 kB / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1305, allocations: 34.56 kB / 0.5564 GB, free: 5.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1305, allocations: 0 / 0.5564 GB, free: 5.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009296/0.1314, allocations: 249.5 kB / 0.5566 GB, free: 5.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1315, allocations: 59.33 kB / 0.5567 GB, free: 5.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1317, allocations: 214.4 kB / 0.5569 GB, free: 5.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1317, allocations: 29.7 kB / 0.5569 GB, free: 5.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.1318, allocations: 108.1 kB / 0.557 GB, free: 5.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1318, allocations: 31.73 kB / 0.5571 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1319, allocations: 17.72 kB / 0.5571 GB, free: 5.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.132, allocations: 326.8 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.1321, allocations: 27.97 kB / 0.5574 GB, free: 4.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.1322, allocations: 31.98 kB / 0.5575 GB, free: 4.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1324, allocations: 84.69 kB / 0.5575 GB, free: 4.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1324, allocations: 0 / 0.5575 GB, free: 4.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002443/0.1326, allocations: 109.6 kB / 0.5576 GB, free: 4.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1326, allocations: 6.188 kB / 0.5576 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1326, allocations: 0 / 0.5576 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1326, allocations: 0 / 0.5576 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1327, allocations: 19.98 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1327, allocations: 3.938 kB / 0.5577 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1328, allocations: 7.984 kB / 0.5577 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1328, allocations: 4 kB / 0.5577 GB, free: 4.516 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.0001187/0.1329, allocations: 132 kB / 0.5578 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.133, allocations: 19.89 kB / 0.5578 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.1333, allocations: 123 kB / 0.5579 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1333, allocations: 4 kB / 0.5579 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1333, allocations: 3.938 kB / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1333, allocations: 0 / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.1339, allocations: 427.6 kB / 0.5584 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1339, allocations: 7.922 kB / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.1339, allocations: 12 kB / 0.5584 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1339, allocations: 7.938 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1339, allocations: 11.92 kB / 0.5584 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.134, allocations: 0 / 0.5584 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.134, allocations: 4 kB / 0.5584 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.1342, allocations: 212.4 kB / 0.5586 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1343, allocations: 88.95 kB / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1343, allocations: 4 kB / 0.5587 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.1344, allocations: 11.98 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1344, allocations: 0 / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1344, allocations: 8 kB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1346, allocations: 168.2 kB / 0.5589 GB, free: 3.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1346, allocations: 0 / 0.5589 GB, free: 3.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1349, allocations: 27.88 kB / 0.5589 GB, free: 3.152 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.002274/0.1371, allocations: 1.1 MB / 0.56 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1374, allocations: 75.88 kB / 0.56 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1374, allocations: 0 / 0.56 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1375, allocations: 39.92 kB / 0.5601 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1379, allocations: 19.98 kB / 0.5601 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.14, allocations: 1.722 MB / 0.5618 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1404, allocations: 0.7119 MB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.1405, allocations: 20.95 kB / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.1405, allocations: 39.36 kB / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1405, allocations: 0 / 0.5625 GB, free: 15.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.1594, allocations: 3.223 MB / 0.5657 GB, free: 12.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.489/8.649, allocations: 3.984 kB / 0.5657 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.728598915971816]