Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001552/0.001552, 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.001725/0.001725, 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.394/1.394, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2176/0.2176, 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 75.88 kB / 0.4917 GB, free: 26.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1075, allocations: 66.04 MB / 0.5562 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003185/0.1107, allocations: 1.614 MB / 0.5577 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1118, allocations: 0.5372 MB / 0.5583 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.1118, allocations: 0 / 0.5583 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1121, allocations: 31.78 kB / 0.5583 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.1124, allocations: 79.67 kB / 0.5584 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.1127, allocations: 110.7 kB / 0.5585 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1129, allocations: 71.77 kB / 0.5585 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.113, allocations: 7.938 kB / 0.5586 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.113, allocations: 19.92 kB / 0.5586 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.1131, allocations: 31.78 kB / 0.5586 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1131, allocations: 4 kB / 0.5586 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.1132, allocations: 39.94 kB / 0.5586 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.1132, allocations: 15.92 kB / 0.5587 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1133, allocations: 19.81 kB / 0.5587 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1134, allocations: 83.7 kB / 0.5588 GB, free: 6.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1134, allocations: 0 / 0.5588 GB, free: 6.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1134, allocations: 0 / 0.5588 GB, free: 6.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1134, allocations: 0 / 0.5588 GB, free: 6.016 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.0004953/0.1139, allocations: 394.9 kB / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.114, allocations: 12.03 kB / 0.5591 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.609e-05/0.114, allocations: 4.188 kB / 0.5591 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.114, allocations: 34.69 kB / 0.5592 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1141, allocations: 8.891 kB / 0.5592 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1143, allocations: 202.9 kB / 0.5594 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.1143, allocations: 384 / 0.5594 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.1143, allocations: 384 / 0.5594 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1144, allocations: 54 kB / 0.5594 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1144, allocations: 0 / 0.5594 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1145, allocations: 0 / 0.5594 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1145, allocations: 11.98 kB / 0.5594 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.1146, allocations: 23.97 kB / 0.5595 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.115, allocations: 292.8 kB / 0.5597 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1152, allocations: 42.56 kB / 0.5598 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.1153, allocations: 16.94 kB / 0.5598 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1153, allocations: 4 kB / 0.5598 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1153, allocations: 30.56 kB / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1153, allocations: 4 kB / 0.5598 GB, free: 4.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006068/0.1159, allocations: 149.4 kB / 0.56 GB, free: 4.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1159, allocations: 51.41 kB / 0.56 GB, free: 4.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1161, allocations: 173.2 kB / 0.5602 GB, free: 4.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1161, allocations: 25.7 kB / 0.5602 GB, free: 4.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.1162, allocations: 100 kB / 0.5603 GB, free: 4.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1162, allocations: 19.84 kB / 0.5603 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1163, allocations: 17.66 kB / 0.5604 GB, free: 4.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1164, allocations: 326.8 kB / 0.5607 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.1165, allocations: 19.98 kB / 0.5607 GB, free: 3.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.1165, allocations: 23.98 kB / 0.5607 GB, free: 3.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1167, allocations: 52.83 kB / 0.5608 GB, free: 3.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1167, allocations: 0 / 0.5608 GB, free: 3.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002042/0.1169, allocations: 85.61 kB / 0.5608 GB, free: 3.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1169, allocations: 4 kB / 0.5608 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1169, allocations: 7.938 kB / 0.5609 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1169, allocations: 0 / 0.5609 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.117, allocations: 19.92 kB / 0.5609 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.117, allocations: 0 / 0.5609 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.117, allocations: 7.938 kB / 0.5609 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1171, allocations: 3.984 kB / 0.5609 GB, free: 3.605 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 8.779e-05/0.1171, allocations: 117.8 kB / 0.561 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.1172, allocations: 7.953 kB / 0.561 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.1174, allocations: 102 kB / 0.5611 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1174, allocations: 4 kB / 0.5611 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1174, allocations: 320 / 0.5611 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1174, allocations: 3.938 kB / 0.5611 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.1179, allocations: 358.5 kB / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1179, allocations: 0 / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.118, allocations: 11.98 kB / 0.5615 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.118, allocations: 0 / 0.5615 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.118, allocations: 7.938 kB / 0.5615 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.118, allocations: 0 / 0.5615 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.118, allocations: 4 kB / 0.5615 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1182, allocations: 187.4 kB / 0.5617 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1183, allocations: 81.06 kB / 0.5617 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1183, allocations: 7.938 kB / 0.5617 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.1184, allocations: 7.984 kB / 0.5617 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.1184, allocations: 4 kB / 0.5617 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1184, allocations: 4 kB / 0.5618 GB, free: 2.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1185, allocations: 123.2 kB / 0.5619 GB, free: 2.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1185, allocations: 0 / 0.5619 GB, free: 2.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1188, allocations: 23.89 kB / 0.5619 GB, free: 2.461 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.001895/0.1207, allocations: 1.017 MB / 0.5629 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1209, allocations: 47.95 kB / 0.5629 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1209, allocations: 4 kB / 0.5629 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.121, allocations: 23.98 kB / 0.563 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1213, allocations: 14.8 kB / 0.563 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1231, allocations: 1.495 MB / 0.5644 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1235, allocations: 0.6963 MB / 0.5651 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.1235, allocations: 23.77 kB / 0.5651 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.1236, allocations: 27.42 kB / 0.5652 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1236, allocations: 4 kB / 0.5652 GB, free: 15.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.1415, allocations: 2.673 MB / 0.5678 GB, free: 12.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.01, allocations: 8.5 kB / 0.5678 GB, free: 12.48 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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: 10.928515825013164]