Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.0008606/0.0008606, 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.001035/0.001035, allocations: 170.3 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.8746/0.8746, 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.1371/0.1371, allocations: 32.36 MB / 269.6 MB, free: 14.97 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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.518e-05, allocations: 2.281 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002058/0.002073, allocations: 1.595 MB / 408.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.002744, allocations: 327.4 kB / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.00279, allocations: 0 / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.003222, allocations: 451.1 kB / 409.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.003503, allocations: 255.4 kB / 409.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.003736, allocations: 111.7 kB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.003922, allocations: 155.7 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.004025, allocations: 20.14 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.004124, allocations: 115.8 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.00432, allocations: 243.6 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004339, allocations: 4 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.004411, allocations: 35.86 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.004497, allocations: 83.66 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.004534, allocations: 47.72 kB / 410.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.004758, allocations: 235.1 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00476, allocations: 0 / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004761, allocations: 0 / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004765, allocations: 0 / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005382/0.005303, allocations: 0.5777 MB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.00534, allocations: 8.031 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.00537, allocations: 34.75 kB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.005413, allocations: 40.66 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.005605, allocations: 250 kB / 411.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.005613, allocations: 384 / 411.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.005631, allocations: 4.375 kB / 411.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.005739, allocations: 54.23 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.005749, allocations: 3.938 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.005756, allocations: 0 / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005761, allocations: 4 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.817e-05/0.005819, allocations: 27.97 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.006171, allocations: 359.7 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.006329, allocations: 38.56 kB / 411.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.006359, allocations: 16.94 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.006378, allocations: 4 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.006394, allocations: 30.56 kB / 411.9 MB, free: 13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.006395, allocations: 0 / 411.9 MB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004075/0.006802, allocations: 236.7 kB / 412.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.006834, allocations: 51.41 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.007385, allocations: 0.8652 MB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.007398, allocations: 29.64 kB / 413.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.007513, allocations: 220.1 kB / 413.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.007534, allocations: 19.83 kB / 413.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.007567, allocations: 17.72 kB / 413.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.007671, allocations: 362.7 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.00771, allocations: 23.92 kB / 413.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.007742, allocations: 19.98 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/0.007811, allocations: 44.83 kB / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007812, allocations: 0 / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001207/0.007933, allocations: 113.4 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.007945, allocations: 4 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.007951, allocations: 3.984 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.007962, allocations: 8 kB / 413.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.584e-05/0.007998, allocations: 8 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.008002, allocations: 3.938 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.008041, allocations: 15.92 kB / 413.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.008049, allocations: 4 kB / 414 MB, free: 10.91 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.0001291/0.008178, allocations: 205.7 kB / 414.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.00821, allocations: 47.67 kB / 414.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.008378, allocations: 141.2 kB / 414.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.00838, allocations: 0 / 414.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008383, allocations: 0 / 414.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008386, allocations: 0 / 414.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.008708, allocations: 429.8 kB / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00871, allocations: 0 / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.008738, allocations: 15.98 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00874, allocations: 0 / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008745, allocations: 0 / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.008747, allocations: 0 / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.00875, allocations: 7.938 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008886, allocations: 215.5 kB / 415 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.008914, allocations: 39.7 kB / 415 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.008929, allocations: 0 / 415 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.008975, allocations: 11.98 kB / 415 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.009016, allocations: 11.92 kB / 415.1 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.009018, allocations: 3.938 kB / 415.1 MB, free: 9.719 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003835/0.009402, allocations: 0.6511 MB / 415.7 MB, free: 9.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009402, allocations: 0 / 415.7 MB, free: 9.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.009571, allocations: 28 kB / 415.7 MB, free: 9.043 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.001186/0.01076, allocations: 1.064 MB / 416.8 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.01087, allocations: 47.91 kB / 416.8 MB, free: 7.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01087, allocations: 0 / 416.8 MB, free: 7.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.01091, allocations: 27.97 kB / 416.9 MB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01118, allocations: 37.78 kB / 416.9 MB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.01333, allocations: 3.211 MB / 420.1 MB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.01346, allocations: 216.1 kB / 420.3 MB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.01349, allocations: 12 kB / 420.3 MB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.01358, allocations: 104.5 kB / 420.4 MB, free: 4.215 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.01358, allocations: 0 / 420.4 MB, free: 4.215 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.03058, allocations: 6.654 MB / 427.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.672, allocations: 11.88 kB / 427.1 MB, free: 13.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.684861052781343]