Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001331/0.001331, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.001987/0.001987, allocations: 213.4 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2354/0.2354, allocations: 46.97 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 59.91 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3853, allocations: 66.04 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004141/0.3894, allocations: 1.983 MB / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.3917, allocations: 1.088 MB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3918, allocations: 0 / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.3924, allocations: 279 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.393, allocations: 267 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3946, allocations: 0.6528 MB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.3951, allocations: 358.8 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.3953, allocations: 58.72 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3954, allocations: 159.4 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.3957, allocations: 235.1 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.3958, allocations: 8 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.396, allocations: 104 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3962, allocations: 107.5 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3963, allocations: 95.16 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.3968, allocations: 382.1 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3968, allocations: 4 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3968, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3968, allocations: 0 / 0.567 GB, free: 14.46 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001025/0.3979, allocations: 0.632 MB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3979, allocations: 8.031 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.901e-05/0.398, allocations: 12.11 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.398, allocations: 42.75 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.918e-05/0.3981, allocations: 44.66 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.3986, allocations: 280.6 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3986, allocations: 12.38 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.3986, allocations: 16.12 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.399, allocations: 133.5 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.399, allocations: 3.953 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.399, allocations: 4 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.399, allocations: 4 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3992, allocations: 87.94 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.4, allocations: 479.4 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.4003, allocations: 98.53 kB / 0.5688 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.4004, allocations: 44.83 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.4004, allocations: 4 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4004, allocations: 38.5 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.4004, allocations: 0 / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001149/0.4016, allocations: 456.5 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.4016, allocations: 55.41 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.4024, allocations: 0.6034 MB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4024, allocations: 33.7 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4026, allocations: 220.3 kB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.4026, allocations: 59.44 kB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.4027, allocations: 41.7 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4029, allocations: 362.7 kB / 0.5706 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.403, allocations: 59.97 kB / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4032, allocations: 67.95 kB / 0.5707 GB, free: 10.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.4035, allocations: 155.6 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4035, allocations: 4 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004228/0.4039, allocations: 237.2 kB / 0.5711 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4039, allocations: 7.984 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4039, allocations: 0 / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4039, allocations: 0 / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.4041, allocations: 31.98 kB / 0.5711 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4041, allocations: 0 / 0.5711 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.4042, allocations: 15.92 kB / 0.5712 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.4042, allocations: 11.98 kB / 0.5712 GB, free: 9.961 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 (17): * Single equations (assignments): 17 * 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.0001942/0.4044, allocations: 189.7 kB / 0.5713 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.4045, allocations: 47.67 kB / 0.5714 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.405, allocations: 280.1 kB / 0.5717 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.405, allocations: 0 / 0.5717 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.405, allocations: 0 / 0.5717 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4051, allocations: 0 / 0.5717 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.406, allocations: 0.6456 MB / 0.5723 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.406, allocations: 0 / 0.5723 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.4062, allocations: 35.92 kB / 0.5723 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4062, allocations: 4 kB / 0.5723 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4062, allocations: 3.984 kB / 0.5723 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4062, allocations: 7.938 kB / 0.5723 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4062, allocations: 0 / 0.5723 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.4066, allocations: 329.4 kB / 0.5727 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.4067, allocations: 43.7 kB / 0.5727 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.4068, allocations: 7.984 kB / 0.5727 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4069, allocations: 15.88 kB / 0.5727 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.4069, allocations: 15.98 kB / 0.5727 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.4069, allocations: 7.984 kB / 0.5727 GB, free: 8.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005308/0.4075, allocations: 450.8 kB / 0.5732 GB, free: 7.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4075, allocations: 0 / 0.5732 GB, free: 7.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.4078, allocations: 51.94 kB / 0.5732 GB, free: 7.773 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 (17): * Single equations (assignments): 17 * 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.003678/0.4115, allocations: 1.529 MB / 0.5747 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.4119, allocations: 162.3 kB / 0.5749 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4119, allocations: 0 / 0.5749 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.412, allocations: 83.89 kB / 0.5749 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.4126, allocations: 87.61 kB / 0.575 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.417, allocations: 3.346 MB / 0.5783 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.4172, allocations: 232.8 kB / 0.5785 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000161/0.4174, allocations: 58.25 kB / 0.5786 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.4176, allocations: 143.4 kB / 0.5787 GB, free: 2.398 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4176, allocations: 0 / 0.5787 GB, free: 2.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.4495, allocations: 8.288 MB / 0.5868 GB, free: 10.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.3, allocations: 6.297 kB / 0.5868 GB, free: 10.13 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 15.644624992040917]