Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0008185/0.0008185, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007996/0.0007996, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8657/0.8657, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1397/0.1397, allocations: 32.36 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 406.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.926e-05, allocations: 2.281 kB / 406.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002233/0.002252, allocations: 1.567 MB / 408.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.003043, allocations: 327.4 kB / 408.7 MB, free: 328 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.003098, allocations: 0 / 408.7 MB, free: 328 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.003533, allocations: 451.1 kB / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.00381, allocations: 255.3 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.004122, allocations: 151.6 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.004348, allocations: 167.6 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.004437, allocations: 11.95 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.004545, allocations: 115.8 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.004714, allocations: 235.6 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.004731, allocations: 0 / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.004802, allocations: 27.92 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.004879, allocations: 87.66 kB / 410.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.004919, allocations: 47.67 kB / 410.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.005142, allocations: 223.1 kB / 410.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.005147, allocations: 4 kB / 410.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005148, allocations: 0 / 410.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.005154, allocations: 3.938 kB / 410.5 MB, free: 14.57 MB / 394.7 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.0005284/0.005682, allocations: 0.5544 MB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.005722, allocations: 12.03 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.00575, allocations: 34.75 kB / 411.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.005797, allocations: 40.66 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.005984, allocations: 246 kB / 411.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.005993, allocations: 8.375 kB / 411.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.006002, allocations: 4.312 kB / 411.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.006124, allocations: 54.23 kB / 411.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.006134, allocations: 192 / 411.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.006145, allocations: 3.938 kB / 411.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.006152, allocations: 3.984 kB / 411.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.204e-05/0.006204, allocations: 23.98 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.00659, allocations: 347.9 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.307e-05/0.006653, allocations: 42.5 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.00668, allocations: 20.91 kB / 411.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.006697, allocations: 0 / 411.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.006716, allocations: 38.56 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.006716, allocations: 0 / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.006883, allocations: 101.4 kB / 412 MB, free: 12.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.006909, allocations: 59.34 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.007446, allocations: 0.8653 MB / 412.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.007458, allocations: 25.7 kB / 412.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.007566, allocations: 224.2 kB / 413.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.00758, allocations: 7.953 kB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.007615, allocations: 17.7 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.007732, allocations: 358.8 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.007757, allocations: 15.92 kB / 413.5 MB, free: 11.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.007777, allocations: 8 kB / 413.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.007824, allocations: 28.78 kB / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007826, allocations: 0 / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.606e-05/0.007912, allocations: 105.4 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007924, allocations: 4 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.007928, allocations: 0 / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.007939, allocations: 0 / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.007985, allocations: 4 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.007989, allocations: 0 / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.00802, allocations: 7.984 kB / 413.7 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.008026, allocations: 7.938 kB / 413.7 MB, free: 11.14 MB / 394.7 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 (2): * Single equations (assignments): 2 * 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.0001314/0.008157, allocations: 209.7 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.008193, allocations: 51.7 kB / 414 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.008319, allocations: 108.8 kB / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.008321, allocations: 0 / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008325, allocations: 0 / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008329, allocations: 0 / 414.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.008505, allocations: 252.6 kB / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.008507, allocations: 0 / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.008527, allocations: 11.92 kB / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008529, allocations: 0 / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.008534, allocations: 0 / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008536, allocations: 8.031 kB / 414.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.008537, allocations: 0 / 414.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.00866, allocations: 191.2 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.00869, allocations: 39.7 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.008704, allocations: 0 / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.008743, allocations: 4 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.008763, allocations: 0 / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.008766, allocations: 3.984 kB / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003884/0.009155, allocations: 0.655 MB / 415.2 MB, free: 9.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009155, allocations: 4.031 kB / 415.2 MB, free: 9.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.009316, allocations: 16 kB / 415.2 MB, free: 9.531 MB / 394.7 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 (2): * Single equations (assignments): 2 * 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.00103/0.01035, allocations: 1.002 MB / 416.2 MB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.01042, allocations: 23.98 kB / 416.3 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01042, allocations: 0 / 416.3 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.01044, allocations: 11.98 kB / 416.3 MB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01071, allocations: 26.25 kB / 416.3 MB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.01317, allocations: 3.154 MB / 419.5 MB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.01334, allocations: 219.5 kB / 419.7 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.0134, allocations: 16.05 kB / 419.7 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.0135, allocations: 112.5 kB / 419.8 MB, free: 4.852 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0135, allocations: 0 / 419.8 MB, free: 4.852 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.0321, allocations: 6.428 MB / 426.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/6.645, allocations: 15.86 kB / 426.2 MB, free: 14.29 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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: 8.631732837297022]