Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0008518/0.0008518, allocations: 76.53 kB / 19.92 MB, free: 4.637 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.0009395/0.0009395, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8721/0.8721, allocations: 158.6 MB / 185 MB, free: 3.039 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.1318/0.1318, allocations: 32.36 MB / 269.6 MB, free: 14.98 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.48e-05, allocations: 6.078 kB / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002352/0.002377, allocations: 1.603 MB / 408.4 MB, free: 0.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005216/0.002898, allocations: 351.3 kB / 408.8 MB, free: 284 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.002972, allocations: 4 kB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.003457, allocations: 459 kB / 409.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.003771, allocations: 243.4 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.004139, allocations: 163.6 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.004367, allocations: 159.7 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.00447, allocations: 12.17 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004582, allocations: 119.8 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.004765, allocations: 243.5 kB / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.004783, allocations: 4 kB / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.00486, allocations: 27.98 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.004948, allocations: 91.64 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.004986, allocations: 39.69 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.00522, allocations: 239.1 kB / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.005224, allocations: 0 / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.005226, allocations: 0 / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005231, allocations: 8 kB / 410.6 MB, free: 14.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005429/0.005774, allocations: 0.5737 MB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.005815, allocations: 12.03 kB / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.00585, allocations: 34.75 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.005899, allocations: 48.59 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.006094, allocations: 246 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.006107, allocations: 384 / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.00613, allocations: 8.375 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.006268, allocations: 50.23 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.00628, allocations: 3.938 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006289, allocations: 8 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.006294, allocations: 4 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/0.006359, allocations: 31.91 kB / 411.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.006742, allocations: 355.8 kB / 411.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.006922, allocations: 50.53 kB / 412 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.00695, allocations: 16.8 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.006973, allocations: 8.078 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.00699, allocations: 30.56 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.006991, allocations: 4 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004295/0.007421, allocations: 248.7 kB / 412.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.007451, allocations: 51.41 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.007978, allocations: 0.8653 MB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.00799, allocations: 25.7 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.008102, allocations: 228.1 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.008122, allocations: 15.8 kB / 413.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.008153, allocations: 21.72 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.008251, allocations: 370.7 kB / 413.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.008296, allocations: 19.98 kB / 413.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.008329, allocations: 19.98 kB / 413.9 MB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/0.008403, allocations: 52.83 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.008404, allocations: 0 / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001324/0.008537, allocations: 125.3 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008549, allocations: 8 kB / 414.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008554, allocations: 0 / 414.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.008566, allocations: 4 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.008606, allocations: 11.98 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.00861, allocations: 0 / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.008642, allocations: 4 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.008648, allocations: 11.88 kB / 414.1 MB, free: 10.78 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 (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 0.0001286/0.008777, allocations: 217.7 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.008809, allocations: 39.72 kB / 414.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.008985, allocations: 149.2 kB / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008987, allocations: 0 / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.008991, allocations: 0 / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008994, allocations: 0 / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.009333, allocations: 441.8 kB / 414.9 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009334, allocations: 0 / 414.9 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.009361, allocations: 8 kB / 414.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.009364, allocations: 0 / 414.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.00937, allocations: 8 kB / 414.9 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.009374, allocations: 7.922 kB / 414.9 MB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.009376, allocations: 3.938 kB / 414.9 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.009518, allocations: 215.2 kB / 415.1 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.009546, allocations: 43.7 kB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.009563, allocations: 4 kB / 415.2 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.009609, allocations: 4 kB / 415.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.009641, allocations: 7.922 kB / 415.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.009644, allocations: 0 / 415.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004166/0.01006, allocations: 0.6628 MB / 415.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01006, allocations: 0 / 415.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01024, allocations: 20 kB / 415.9 MB, free: 8.891 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 (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.0009593/0.0112, allocations: 1.074 MB / 417 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.01133, allocations: 47.97 kB / 417 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01133, allocations: 0 / 417 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.01137, allocations: 35.92 kB / 417 MB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.01168, allocations: 38.16 kB / 417.1 MB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.01422, allocations: 3.25 MB / 420.3 MB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.01436, allocations: 216.2 kB / 420.5 MB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.01442, allocations: 15.98 kB / 420.6 MB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.01452, allocations: 116.4 kB / 420.7 MB, free: 3.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01452, allocations: 0 / 420.7 MB, free: 3.988 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.03584, allocations: 6.729 MB / 427.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.66, allocations: 8.016 kB / 427.4 MB, free: 13.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.614253521896899]