Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001323/0.001323, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001407/0.001407, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.37/1.37, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.2194/0.2194, allocations: 46.96 MB / 361.6 MB, free: 3.934 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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 79.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2941, allocations: 66.07 MB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003621/0.2977, allocations: 1.967 MB / 0.5634 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.2997, allocations: 1.193 MB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2999, allocations: 7.938 kB / 0.5645 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.3001, allocations: 43.58 kB / 0.5646 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.3006, allocations: 211.1 kB / 0.5648 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009509/0.3015, allocations: 436.5 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.302, allocations: 307 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3021, allocations: 48.91 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.3024, allocations: 139.4 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.3027, allocations: 199.3 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.3027, allocations: 12 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3028, allocations: 63.92 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.303, allocations: 147.5 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3031, allocations: 130.9 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.3036, allocations: 415.9 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3036, allocations: 0 / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3036, allocations: 0 / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3036, allocations: 0 / 0.5666 GB, free: 14.76 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009662/0.3045, allocations: 0.7484 MB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3046, allocations: 8.031 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.3046, allocations: 4.188 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.3046, allocations: 46.73 kB / 0.5674 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.3049, allocations: 76.5 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.3056, allocations: 418.4 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3056, allocations: 4.375 kB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.3056, allocations: 12.38 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.3059, allocations: 135.1 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3059, allocations: 0 / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3059, allocations: 4 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3059, allocations: 7.938 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.3061, allocations: 83.81 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.307, allocations: 0.6246 MB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.3072, allocations: 109.2 kB / 0.5688 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.3073, allocations: 37.83 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3073, allocations: 4 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3074, allocations: 42.48 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.3074, allocations: 4 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001342/0.3087, allocations: 0.5308 MB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.3088, allocations: 77.11 kB / 0.5695 GB, free: 11.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3098, allocations: 0.9259 MB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3098, allocations: 29.7 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.3101, allocations: 260.4 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.3101, allocations: 55.53 kB / 0.5707 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.3102, allocations: 33.7 kB / 0.5707 GB, free: 10.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3104, allocations: 378.8 kB / 0.5711 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3105, allocations: 51.91 kB / 0.5712 GB, free: 9.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.3107, allocations: 76.06 kB / 0.5712 GB, free: 9.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.311, allocations: 141.6 kB / 0.5714 GB, free: 9.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.311, allocations: 0 / 0.5714 GB, free: 9.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004593/0.3115, allocations: 233.4 kB / 0.5716 GB, free: 9.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3115, allocations: 6.188 kB / 0.5716 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3115, allocations: 0 / 0.5716 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3115, allocations: 4 kB / 0.5716 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3117, allocations: 35.97 kB / 0.5716 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3117, allocations: 4.062 kB / 0.5716 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.3118, allocations: 23.92 kB / 0.5717 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3119, allocations: 4 kB / 0.5717 GB, free: 9.328 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.000214/0.3121, allocations: 215 kB / 0.5719 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3122, allocations: 59.58 kB / 0.5719 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.3128, allocations: 270.4 kB / 0.5722 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3128, allocations: 4 kB / 0.5722 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3128, allocations: 4.562 kB / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3128, allocations: 3.984 kB / 0.5722 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3139, allocations: 0.723 MB / 0.5729 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3139, allocations: 0 / 0.5729 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.314, allocations: 43.91 kB / 0.5729 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.314, allocations: 4 kB / 0.5729 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3141, allocations: 8 kB / 0.573 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3141, allocations: 0 / 0.573 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3141, allocations: 7.938 kB / 0.573 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.3146, allocations: 394.6 kB / 0.5733 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3147, allocations: 87.53 kB / 0.5734 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.3148, allocations: 0 / 0.5734 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.315, allocations: 19.92 kB / 0.5734 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.315, allocations: 19.91 kB / 0.5735 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3151, allocations: 12 kB / 0.5735 GB, free: 7.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007954/0.3158, allocations: 0.6708 MB / 0.5741 GB, free: 6.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3158, allocations: 0 / 0.5741 GB, free: 6.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.3162, allocations: 52 kB / 0.5742 GB, free: 6.668 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.00235/0.3185, allocations: 1.254 MB / 0.5754 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.319, allocations: 143.8 kB / 0.5755 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.319, allocations: 0 / 0.5755 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.3192, allocations: 75.89 kB / 0.5756 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.3197, allocations: 81.52 kB / 0.5757 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/0.3263, allocations: 5.052 MB / 0.5806 GB, free: 104 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3266, allocations: 257.4 kB / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.3268, allocations: 79.84 kB / 0.5809 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.327, allocations: 179.4 kB / 0.5811 GB, free: 15.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.327, allocations: 4 kB / 0.5811 GB, free: 15.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.3595, allocations: 10.35 MB / 0.5912 GB, free: 5.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.8, allocations: 14.27 kB / 0.5912 GB, free: 5.266 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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: 14.881650750059634]