Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 230.4 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 79.88 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1135, allocations: 66.06 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003028/0.1165, allocations: 1.618 MB / 0.5578 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000998/0.1175, allocations: 0.5527 MB / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.1176, allocations: 0 / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1178, allocations: 79.77 kB / 0.5584 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1181, allocations: 95.59 kB / 0.5585 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1184, allocations: 118.5 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1186, allocations: 91.75 kB / 0.5587 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.1187, allocations: 11.98 kB / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.1188, allocations: 39.83 kB / 0.5587 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1189, allocations: 59.81 kB / 0.5588 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1189, allocations: 4 kB / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.119, allocations: 43.98 kB / 0.5588 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.1191, allocations: 23.92 kB / 0.5589 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1191, allocations: 39.67 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1193, allocations: 95.58 kB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1193, allocations: 8 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1193, allocations: 0 / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1193, allocations: 0 / 0.559 GB, free: 2.625 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.0005251/0.1198, allocations: 422.7 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1199, allocations: 8.031 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.1199, allocations: 192 / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1199, allocations: 38.75 kB / 0.5594 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.12, allocations: 12.84 kB / 0.5594 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1202, allocations: 208.7 kB / 0.5596 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1202, allocations: 4.375 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1202, allocations: 4.375 kB / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1204, allocations: 57.98 kB / 0.5597 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1204, allocations: 4 kB / 0.5597 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1204, allocations: 0 / 0.5597 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1204, allocations: 4 kB / 0.5597 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1205, allocations: 31.97 kB / 0.5597 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.121, allocations: 304.7 kB / 0.56 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1211, allocations: 42.66 kB / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.1211, allocations: 16.84 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1212, allocations: 4 kB / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1212, allocations: 34.56 kB / 0.5601 GB, free: 1.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 3.216e-06/0.1212, allocations: 4 kB / 0.5601 GB, free: 1.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009402/0.1221, allocations: 241.2 kB / 0.5604 GB, free: 1.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1222, allocations: 51.41 kB / 0.5604 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1224, allocations: 226.2 kB / 0.5606 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1224, allocations: 29.7 kB / 0.5607 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1225, allocations: 108.1 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.1225, allocations: 23.83 kB / 0.5608 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.1226, allocations: 33.69 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1227, allocations: 322.8 kB / 0.5611 GB, free: 208 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.1228, allocations: 31.98 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.1229, allocations: 27.97 kB / 0.5612 GB, free: 148 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1231, allocations: 76.81 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1231, allocations: 0 / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002491/0.1233, allocations: 113.5 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1233, allocations: 4 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1233, allocations: 0 / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1234, allocations: 4 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.1235, allocations: 16.41 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1235, allocations: 0 / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.1235, allocations: 11.94 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1235, allocations: 4 kB / 0.5614 GB, free: 15.91 MB / 430.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.0001034/0.1236, allocations: 125.8 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.1237, allocations: 15.91 kB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.124, allocations: 131.3 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.124, allocations: 7.984 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.124, allocations: 4 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1241, allocations: 3.938 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.1246, allocations: 423.3 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1246, allocations: 0 / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.1247, allocations: 19.98 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1247, allocations: 3.938 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1247, allocations: 4 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1247, allocations: 4.031 kB / 0.5621 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1247, allocations: 4 kB / 0.5621 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.125, allocations: 216.2 kB / 0.5623 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1251, allocations: 89.02 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1251, allocations: 3.938 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.1251, allocations: 11.94 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1252, allocations: 15.92 kB / 0.5624 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1252, allocations: 0 / 0.5624 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1253, allocations: 168.2 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1253, allocations: 0 / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1256, allocations: 23.92 kB / 0.5626 GB, free: 14.54 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: 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.002256/0.1278, allocations: 1.086 MB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.1281, allocations: 71.95 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1281, allocations: 3.938 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.992e-05/0.1282, allocations: 35.97 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1286, allocations: 22.33 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1306, allocations: 1.731 MB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.131, allocations: 0.7079 MB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.784e-05/0.131, allocations: 24.94 kB / 0.5662 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.1311, allocations: 39.42 kB / 0.5663 GB, free: 10.85 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1311, allocations: 0 / 0.5663 GB, free: 10.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.1488, allocations: 3.216 MB / 0.5694 GB, free: 7.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.056, allocations: 8.047 kB / 0.5694 GB, free: 7.688 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.028814895020332]